Searched refs:PrevTok (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 158 const Token &PrevTok, in AvoidConcat() argument 164 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat() 166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat() 169 tok::TokenKind PrevKind = PrevTok.getKind(); in AvoidConcat() 170 if (!PrevTok.isAnnotation() && PrevTok.getIdentifierInfo()) in AvoidConcat() 233 if (!PrevTok.hasUDSuffix()) in AvoidConcat() 254 return IsIdentifierStringPrefix(PrevTok); in AvoidConcat()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 157 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, in AvoidConcat() argument 159 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok); in AvoidConcat() 614 Token PrevPrevTok, PrevTok; in PrintPreprocessedTokens() local 616 PrevTok.startToken(); in PrintPreprocessedTokens() 631 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { in PrintPreprocessedTokens() 675 PrevPrevTok = PrevTok; in PrintPreprocessedTokens() 676 PrevTok = Tok; in PrintPreprocessedTokens()
|
/external/clang/lib/Rewrite/ |
D | HTMLRewrite.cpp | 538 Token PrevTok = Tok; in HighlightMacros() local 558 ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok)) in HighlightMacros() 565 PrevPrevTok = PrevTok; in HighlightMacros() 566 PrevTok = Tok; in HighlightMacros()
|
/external/clang/include/clang/Lex/ |
D | TokenConcatenation.h | 62 const Token &PrevTok,
|
/external/clang/lib/Parse/ |
D | ParseOpenMP.cpp | 362 Token PrevTok = Tok; in ParseOpenMPSimpleVarList() local 380 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList() 382 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
|
/external/clang/lib/AST/ |
D | CommentParser.cpp | 375 Token PrevTok = Tok; in parseBlockCommand() local 378 putBack(PrevTok); in parseBlockCommand()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 668 Token PrevTok; variable 675 PrevTok = P.Tok; in TentativeParsingAction() 694 P.Tok = PrevTok; in Revert()
|