Searched refs:PrevToken (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 601 Token PrevToken; in HandlePragma() local 603 PrevToken.startToken(); in HandlePragma() 609 Callbacks->AvoidConcat(PrevPrevToken, PrevToken, PragmaTok)) in HandlePragma() 614 PrevPrevToken = PrevToken; in HandlePragma() 615 PrevToken = PragmaTok; in HandlePragma()
|
/external/clang/lib/Format/ |
D | TokenAnnotator.cpp | 1240 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineStarAmpUsage() local 1241 if (!PrevToken) in determineStarAmpUsage() 1251 if (PrevToken->is(tok::coloncolon)) in determineStarAmpUsage() 1254 if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace, in determineStarAmpUsage() 1257 PrevToken->isOneOf(TT_BinaryOperator, TT_ConditionalExpr, in determineStarAmpUsage() 1268 if (PrevToken->is(tok::r_paren) && PrevToken->MatchingParen && in determineStarAmpUsage() 1269 PrevToken->MatchingParen->Previous && in determineStarAmpUsage() 1270 PrevToken->MatchingParen->Previous->isOneOf(tok::kw_typeof, in determineStarAmpUsage() 1274 if (PrevToken->Tok.isLiteral() || in determineStarAmpUsage() 1275 PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::kw_true, in determineStarAmpUsage() [all …]
|