Home
last modified time | relevance | path

Searched refs:PrevToken (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp580 Token PrevToken; in HandlePragma() local
582 PrevToken.startToken(); in HandlePragma()
588 Callbacks->AvoidConcat(PrevPrevToken, PrevToken, PragmaTok)) in HandlePragma()
593 PrevPrevToken = PrevToken; in HandlePragma()
594 PrevToken = PragmaTok; in HandlePragma()
/external/clang/lib/Format/
DTokenAnnotator.cpp1156 const FormatToken *PrevToken = Tok.getPreviousNonComment(); in determineStarAmpUsage() local
1157 if (!PrevToken) in determineStarAmpUsage()
1167 if (PrevToken->is(tok::coloncolon)) in determineStarAmpUsage()
1170 if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace, in determineStarAmpUsage()
1173 PrevToken->isOneOf(TT_BinaryOperator, TT_ConditionalExpr, in determineStarAmpUsage()
1184 if (PrevToken->is(tok::r_paren) && PrevToken->MatchingParen && in determineStarAmpUsage()
1185 PrevToken->MatchingParen->Previous && in determineStarAmpUsage()
1186 PrevToken->MatchingParen->Previous->isOneOf(tok::kw_typeof, in determineStarAmpUsage()
1190 if (PrevToken->Tok.isLiteral() || in determineStarAmpUsage()
1191 PrevToken->isOneOf(tok::r_paren, tok::r_square, tok::kw_true, in determineStarAmpUsage()
[all …]