Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/lib/Lex/
H A 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()
/minix/external/bsd/llvm/dist/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp161 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, in AvoidConcat() argument
163 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok); in AvoidConcat()
605 Token PrevPrevTok, PrevTok; in PrintPreprocessedTokens() local
607 PrevTok.startToken(); in PrintPreprocessedTokens()
622 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { in PrintPreprocessedTokens()
666 PrevPrevTok = PrevTok; in PrintPreprocessedTokens()
667 PrevTok = Tok; in PrintPreprocessedTokens()
/minix/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DTokenConcatenation.h62 const Token &PrevTok,
/minix/external/bsd/llvm/dist/clang/lib/Rewrite/
H A 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()
/minix/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseOpenMP.cpp309 Token PrevTok = Tok; in ParseOpenMPSimpleVarList() local
327 Diag(PrevTok.getLocation(), diag::err_expected) in ParseOpenMPSimpleVarList()
329 << SourceRange(PrevTok.getLocation(), PrevTokLocation); in ParseOpenMPSimpleVarList()
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DCommentParser.cpp375 Token PrevTok = Tok; in parseBlockCommand() local
378 putBack(PrevTok); in parseBlockCommand()
/minix/external/bsd/llvm/dist/clang/include/clang/Parse/
H A DParser.h646 Token PrevTok; variable
653 PrevTok = P.Tok; in TentativeParsingAction()
672 P.Tok = PrevTok; in Revert()