Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DTokenConcatenation.cpp154 const Token &PrevTok, in AvoidConcat() argument
160 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); in AvoidConcat()
162 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
165 tok::TokenKind PrevKind = PrevTok.getKind(); in AvoidConcat()
166 if (PrevTok.getIdentifierInfo()) // Language keyword or named operator. in AvoidConcat()
220 if (!PrevTok.hasUDSuffix()) in AvoidConcat()
240 return IsIdentifierStringPrefix(PrevTok); in AvoidConcat()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp161 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, in AvoidConcat() argument
163 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok); in AvoidConcat()
602 Token PrevPrevTok, PrevTok; in PrintPreprocessedTokens() local
604 PrevTok.startToken(); in PrintPreprocessedTokens()
619 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { in PrintPreprocessedTokens()
663 PrevPrevTok = PrevTok; in PrintPreprocessedTokens()
664 PrevTok = Tok; in PrintPreprocessedTokens()
/external/clang/lib/Rewrite/Core/
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.cpp245 Token PrevTok = Tok; in ParseOpenMPSimpleVarList() local
263 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList()
265 << 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.h657 Token PrevTok; variable
664 PrevTok = P.Tok; in TentativeParsingAction()
683 P.Tok = PrevTok; in Revert()