Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp46 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, in GetNextRawTok() argument
48 assert(CurTok < RawTokens.size() && "Overran eof!"); in GetNextRawTok()
51 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) in GetNextRawTok()
54 return RawTokens[CurTok++]; in GetNextRawTok()
61 std::vector<Token> &RawTokens) { in LexRawTokensFromMainFile() argument
82 RawTokens.push_back(RawTok); in LexRawTokensFromMainFile()
95 std::vector<Token> RawTokens; in RewriteMacrosInInput() local
96 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
98 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
128 if (RawTokens[CurRawTok].is(tok::identifier)) { in RewriteMacrosInInput()
[all …]