Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Format/
DUsingDeclarationsSorter.cpp192 const auto *FirstTok = AnnotatedLines[I]->First; in analyze() local
194 !AnnotatedLines[I]->startsWith(tok::kw_using) || FirstTok->Finalized) { in analyze()
198 if (FirstTok->NewlinesBefore > 1) in analyze()
201 FirstTok->is(tok::comment) ? FirstTok->getNextNonComment() : FirstTok; in analyze()
/external/clang/lib/Lex/
DTokenLexer.cpp410 static bool isWideStringLiteralFromMacro(const Token &FirstTok, in isWideStringLiteralFromMacro() argument
412 return FirstTok.is(tok::identifier) && in isWideStringLiteralFromMacro()
413 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
/external/llvm-project/clang/lib/Lex/
DTokenLexer.cpp615 static bool isWideStringLiteralFromMacro(const Token &FirstTok, in isWideStringLiteralFromMacro() argument
617 return FirstTok.is(tok::identifier) && in isWideStringLiteralFromMacro()
618 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
/external/clang/lib/Parse/
DParsePragma.cpp1121 static void ParseAlignPragma(Preprocessor &PP, Token &FirstTok, in ParseAlignPragma() argument
1180 Toks[0].setLocation(FirstTok.getLocation()); in ParseAlignPragma()
1467 Token &FirstTok) { in HandlePragma() argument
1469 FirstTok.getLocation())) { in HandlePragma()
1470 PP.Diag(FirstTok, diag::warn_pragma_omp_ignored); in HandlePragma()
1482 Token &FirstTok) { in HandlePragma() argument
1487 Tok.setLocation(FirstTok.getLocation()); in HandlePragma()
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp1921 static void ParseAlignPragma(Preprocessor &PP, Token &FirstTok, in ParseAlignPragma() argument
1980 Toks[0].setLocation(FirstTok.getLocation()); in ParseAlignPragma()
2277 Token &FirstTok) { in HandlePragma() argument
2279 FirstTok.getLocation())) { in HandlePragma()
2280 PP.Diag(FirstTok, diag::warn_pragma_omp_ignored); in HandlePragma()
2291 Token &FirstTok) { in HandlePragma() argument
3403 Token FirstTok = Tok; in HandlePragma() local
3408 PP.Diag(FirstTok.getLocation(), in HandlePragma()
3416 PP.Diag(FirstTok.getLocation(), in HandlePragma()
3421 PP.Diag(FirstTok.getLocation(), in HandlePragma()