Searched refs:checkAndConsumeDirectiveWithName (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/clang/lib/Tooling/Inclusions/ |
D | HeaderIncludes.cpp | 58 bool checkAndConsumeDirectiveWithName( in checkAndConsumeDirectiveWithName() function 102 if (checkAndConsumeDirectiveWithName(Lex, "ifndef", Tok)) { in getOffsetAfterHeaderGuardsAndComments() 104 if (checkAndConsumeDirectiveWithName(Lex, "define", Tok) && in getOffsetAfterHeaderGuardsAndComments() 113 if (checkAndConsumeDirectiveWithName(Lex, "pragma", Tok, in getOffsetAfterHeaderGuardsAndComments()
|
/external/clang/lib/Format/ |
D | Format.cpp | 1457 bool checkAndConsumeDirectiveWithName(Lexer &Lex, StringRef Name, Token &Tok) { in checkAndConsumeDirectiveWithName() function 1480 if (checkAndConsumeDirectiveWithName(Lex, "ifndef", Tok)) { in getOffsetAfterHeaderGuardsAndComments() 1482 if (checkAndConsumeDirectiveWithName(Lex, "define", Tok)) in getOffsetAfterHeaderGuardsAndComments()
|