Searched refs:PrevTok (Results 1 - 8 of 8) sorted by relevance
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | TokenConcatenation.h | 61 const Token &PrevTok,
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 149 /// AvoidConcat - If printing PrevTok immediately followed by Tok would cause 161 const Token &PrevTok, 165 if (PrevTok.isAnnotation()) 172 SourceLocation PrevSpellLoc = SM.getSpellingLoc(PrevTok.getLocation()); 174 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) 177 tok::TokenKind PrevKind = PrevTok.getKind(); 178 if (!PrevTok.isAnnotation() && PrevTok.getIdentifierInfo()) 241 if (!PrevTok.hasUDSuffix()) 262 return IsIdentifierStringPrefix(PrevTok); 160 AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, const Token &Tok) const argument [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Rewrite/ |
H A D | HTMLRewrite.cpp | 625 Token PrevTok = Tok; 645 ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok)) 652 PrevPrevTok = PrevTok; 653 PrevTok = Tok;
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 164 bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, argument 166 return ConcatInfo.AvoidConcat(PrevPrevTok, PrevTok, Tok); 719 Token PrevPrevTok, PrevTok; local 721 PrevTok.startToken(); 732 // If we haven't emitted a token on this line yet, PrevTok isn't 736 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) { 814 PrevPrevTok = PrevTok; 815 PrevTok = Tok;
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/ |
H A D | UnwrappedLineParser.cpp | 447 const FormatToken *PrevTok = Tok->Previous; local 464 if (Style.Language == FormatStyle::LK_JavaScript && PrevTok) { 465 if (PrevTok->isOneOf(tok::colon, tok::less)) 476 else if (PrevTok->is(tok::r_paren)) 514 !PrevTok->isOneOf(tok::semi, tok::r_brace, tok::l_brace)) || 554 PrevTok = Tok;
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | CommentParser.cpp | 374 Token PrevTok = Tok; local 377 putBack(PrevTok);
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Parse/ |
H A D | Parser.h | 941 Token PrevTok; member in class:clang::TentativeParsingAction 949 PrevTok = P.Tok; 969 P.Tok = PrevTok;
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 2625 Token PrevTok = Tok; local 2645 Diag(PrevTok.getLocation(), diag::err_expected) 2647 << SourceRange(PrevTok.getLocation(), PrevTokLocation);
|
Completed in 220 milliseconds