Searched refs:TokenText (Results 1 - 7 of 7) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Format/
H A DBreakableToken.cpp150 assert(Tok.TokenText.endswith(Postfix));
151 Line = Tok.TokenText.substr(
152 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size());
204 getLineCommentIndentPrefix(Token.TokenText), "",
207 if (Token.TokenText.size() > Prefix.size() &&
208 isAlphanumeric(Token.TokenText[Prefix.size()])) {
257 StringRef TokenText(Token.TokenText);
258 assert(TokenText.startswith("/*") && TokenText
[all...]
H A DFormat.cpp849 First[0]->TokenText = "<<";
869 AddLength += First[i]->TokenText.size();
872 First[0]->TokenText = StringRef(First[0]->TokenText.data(),
873 First[0]->TokenText.size() + AddLength);
937 const char *RegexBegin = Offset - RegexToken->TokenText.size();
966 RegexToken->TokenText = StringRef(RegexBegin, Offset - RegexBegin);
967 RegexToken->ColumnWidth = RegexToken->TokenText.size();
983 size_t CommentBacktickPos = EndBacktick->TokenText.find('`');
1003 if (I[0]->isNot(tok::unknown) || I[0]->TokenText !
1162 StringRef TokenText = FormatTok->TokenText; local
[all...]
H A DContinuationIndenter.cpp268 ((Previous.is(tok::identifier) && Previous.TokenText == "endl") ||
269 (Previous.Tok.isLiteral() && (Previous.TokenText.endswith("\\n\"") ||
270 Previous.TokenText == "\'\\n\'"))))
1078 StringRef Text = Current.TokenText;
1105 CommentPragmasRegex.match(Current.TokenText.substr(2)))
1114 CommentPragmasRegex.match(Current.TokenText.substr(2)))
1212 if (Current.TokenText.startswith("R\""))
H A DTokenAnnotator.cpp776 Tok.TokenText == "goog" && Tok.Next && Tok.Next->is(tok::period) &&
777 Tok.Next->Next && (Tok.Next->Next->TokenText == "module" ||
778 Tok.Next->Next->TokenText == "provide" ||
779 Tok.Next->Next->TokenText == "require" ||
780 Tok.Next->Next->TokenText == "setTestOnly") &&
952 if (Current.TokenText.startswith("/*")) {
953 if (Current.TokenText.endswith("*/"))
970 BeforeParen->TokenText == BeforeParen->TokenText.upper() &&
1811 bool is_short_annotation = Right.TokenText
[all...]
H A DUnwrappedLineParser.cpp454 if (I->Tok->TokenText != "goog")
460 if (I->Tok->TokenText != "scope")
937 StringRef Text = FormatTok->TokenText;
1682 FormatTok->TokenText != FormatTok->TokenText.upper();
H A DFormatToken.h160 StringRef TokenText; member in struct:clang::format::FormatToken
H A DUnwrappedLineFormatter.cpp468 llvm::dbgs() << State.NextToken->TokenText << "\n";

Completed in 114 milliseconds