Searched defs:PrevTok (Results 1 - 8 of 8) sorted by relevance
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 146 /// AvoidConcat - If printing PrevTok immediately followed by Tok would cause 158 const Token &PrevTok, 164 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); 166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) 169 tok::TokenKind PrevKind = PrevTok.getKind(); 170 if (!PrevTok.isAnnotation() && PrevTok.getIdentifierInfo()) 233 if (!PrevTok.hasUDSuffix()) 254 return IsIdentifierStringPrefix(PrevTok); 157 AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, const Token &Tok) const argument
|
/external/clang/lib/Rewrite/ |
H A D | HTMLRewrite.cpp | 538 Token PrevTok = Tok; local 558 ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok)) 565 PrevPrevTok = PrevTok; 566 PrevTok = Tok;
|
/external/clang/lib/AST/ |
H A D | CommentParser.cpp | 375 Token PrevTok = Tok; local 378 putBack(PrevTok);
|
/external/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 836 Token PrevTok = Tok; local 856 if (ObjCGenericList && PrevTok.getKind() == tok::greatergreater && 857 RemainingToken == tok::greater && PP.IsPreviousCachedToken(PrevTok)) { 858 PrevTok.setKind(RemainingToken); 859 PrevTok.setLength(1); 863 PP.ReplacePreviousCachedToken({PrevTok, Tok}); 865 PP.ReplacePreviousCachedToken({PrevTok});
|
H A D | ParseOpenMP.cpp | 1010 Token PrevTok = Tok; local 1028 Diag(PrevTok.getLocation(), diag::err_expected) 1030 << SourceRange(PrevTok.getLocation(), PrevTokLocation);
|
/external/clang/lib/Format/ |
H A D | UnwrappedLineParser.cpp | 318 const FormatToken *PrevTok = getPreviousToken(); local 335 if (Style.Language == FormatStyle::LK_JavaScript && PrevTok && 336 PrevTok->is(tok::colon)) 399 PrevTok = Tok;
|
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 157 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, argument 159 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok); 635 Token PrevPrevTok, PrevTok; local 637 PrevTok.startToken(); 648 // If we haven't emitted a token on this line yet, PrevTok isn't 652 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { 696 PrevPrevTok = PrevTok; 697 PrevTok = Tok;
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 680 Token PrevTok; member in class:clang::Parser::TentativeParsingAction 687 PrevTok = P.Tok; 706 P.Tok = PrevTok;
|
Completed in 307 milliseconds