Home
last modified time | relevance | path

Searched refs:PrevTok (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Lex/
DTokenConcatenation.cpp158 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/
DPrintPreprocessedOutput.cpp157 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, in AvoidConcat() argument
159 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok); in AvoidConcat()
614 Token PrevPrevTok, PrevTok; in PrintPreprocessedTokens() local
616 PrevTok.startToken(); in PrintPreprocessedTokens()
631 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { in PrintPreprocessedTokens()
675 PrevPrevTok = PrevTok; in PrintPreprocessedTokens()
676 PrevTok = Tok; in PrintPreprocessedTokens()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp538 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/
DTokenConcatenation.h62 const Token &PrevTok,
/external/clang/lib/Parse/
DParseOpenMP.cpp362 Token PrevTok = Tok; in ParseOpenMPSimpleVarList() local
380 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList()
382 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
/external/clang/lib/AST/
DCommentParser.cpp375 Token PrevTok = Tok; in parseBlockCommand() local
378 putBack(PrevTok); in parseBlockCommand()
/external/clang/include/clang/Parse/
DParser.h668 Token PrevTok; variable
675 PrevTok = P.Tok; in TentativeParsingAction()
694 P.Tok = PrevTok; in Revert()