Home
last modified time | relevance | path

Searched refs:LiteralText (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp792 StringRef LiteralText(StrBegin, Offset - StrBegin + 1); in handleCSharpVerbatimAndInterpolatedStrings() local
793 TokenText = LiteralText; in handleCSharpVerbatimAndInterpolatedStrings()
796 size_t FirstBreak = LiteralText.find('\n'); in handleCSharpVerbatimAndInterpolatedStrings()
798 ? LiteralText in handleCSharpVerbatimAndInterpolatedStrings()
799 : LiteralText.substr(0, FirstBreak); in handleCSharpVerbatimAndInterpolatedStrings()
803 size_t LastBreak = LiteralText.rfind('\n'); in handleCSharpVerbatimAndInterpolatedStrings()
808 encoding::columnWidthWithTabs(LiteralText.substr(LastBreak + 1), in handleCSharpVerbatimAndInterpolatedStrings()
926 StringRef LiteralText(TmplBegin, Offset - TmplBegin); in handleTemplateStrings() local
929 BacktickToken->TokenText = LiteralText; in handleTemplateStrings()
932 size_t FirstBreak = LiteralText.find('\n'); in handleTemplateStrings()
[all …]