Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp47 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, in GetNextRawTok() argument
49 assert(CurTok < RawTokens.size() && "Overran eof!"); in GetNextRawTok()
52 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) in GetNextRawTok()
55 return RawTokens[CurTok++]; in GetNextRawTok()
62 std::vector<Token> &RawTokens) { in LexRawTokensFromMainFile() argument
83 RawTokens.push_back(RawTok); in LexRawTokensFromMainFile()
96 std::vector<Token> RawTokens; in RewriteMacrosInInput() local
97 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
99 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
129 if (RawTokens[CurRawTok].is(tok::identifier)) { in RewriteMacrosInInput()
[all …]