Searched refs:PrevTok (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 154 const Token &PrevTok, in AvoidConcat() argument 160 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat() 162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat() 165 tok::TokenKind PrevKind = PrevTok.getKind(); in AvoidConcat() 166 if (PrevTok.getIdentifierInfo()) // Language keyword or named operator. in AvoidConcat() 220 if (!PrevTok.hasUDSuffix()) in AvoidConcat() 240 return IsIdentifierStringPrefix(PrevTok); in AvoidConcat()
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 161 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, in AvoidConcat() argument 163 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok); in AvoidConcat() 602 Token PrevPrevTok, PrevTok; in PrintPreprocessedTokens() local 604 PrevTok.startToken(); in PrintPreprocessedTokens() 619 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { in PrintPreprocessedTokens() 663 PrevPrevTok = PrevTok; in PrintPreprocessedTokens() 664 PrevTok = Tok; in PrintPreprocessedTokens()
|
/external/clang/lib/Rewrite/Core/ |
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 | 245 Token PrevTok = Tok; in ParseOpenMPSimpleVarList() local 263 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList() 265 << 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 | 657 Token PrevTok; variable 664 PrevTok = P.Tok; in TentativeParsingAction() 683 P.Tok = PrevTok; in Revert()
|