Searched refs:PrevTok (Results 1 – 9 of 9) 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() 635 Token PrevPrevTok, PrevTok; in PrintPreprocessedTokens() local 637 PrevTok.startToken(); in PrintPreprocessedTokens() 652 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { in PrintPreprocessedTokens() 696 PrevPrevTok = PrevTok; in PrintPreprocessedTokens() 697 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/lib/Parse/ |
D | ParseTemplate.cpp | 836 Token PrevTok = Tok; in ParseGreaterThanInTemplateList() local 856 if (ObjCGenericList && PrevTok.getKind() == tok::greatergreater && in ParseGreaterThanInTemplateList() 857 RemainingToken == tok::greater && PP.IsPreviousCachedToken(PrevTok)) { in ParseGreaterThanInTemplateList() 858 PrevTok.setKind(RemainingToken); in ParseGreaterThanInTemplateList() 859 PrevTok.setLength(1); in ParseGreaterThanInTemplateList() 863 PP.ReplacePreviousCachedToken({PrevTok, Tok}); in ParseGreaterThanInTemplateList() 865 PP.ReplacePreviousCachedToken({PrevTok}); in ParseGreaterThanInTemplateList()
|
D | ParseOpenMP.cpp | 1010 Token PrevTok = Tok; in ParseOpenMPSimpleVarList() local 1028 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList() 1030 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
|
/external/clang/include/clang/Lex/ |
D | TokenConcatenation.h | 62 const Token &PrevTok,
|
/external/clang/lib/AST/ |
D | CommentParser.cpp | 375 Token PrevTok = Tok; in parseBlockCommand() local 378 putBack(PrevTok); in parseBlockCommand()
|
/external/clang/lib/Format/ |
D | UnwrappedLineParser.cpp | 318 const FormatToken *PrevTok = getPreviousToken(); in calculateBraceTypes() local 335 if (Style.Language == FormatStyle::LK_JavaScript && PrevTok && in calculateBraceTypes() 336 PrevTok->is(tok::colon)) in calculateBraceTypes() 399 PrevTok = Tok; in calculateBraceTypes()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 680 Token PrevTok; variable 687 PrevTok = P.Tok; in TentativeParsingAction() 706 P.Tok = PrevTok; in Revert()
|