Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp48 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, in GetNextRawTok() argument
50 assert(CurTok < RawTokens.size() && "Overran eof!"); in GetNextRawTok()
53 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) in GetNextRawTok()
56 return RawTokens[CurTok++]; in GetNextRawTok()
63 std::vector<Token> &RawTokens) { in LexRawTokensFromMainFile() argument
84 RawTokens.push_back(RawTok); in LexRawTokensFromMainFile()
97 std::vector<Token> RawTokens; in RewriteMacrosInInput() local
98 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
100 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
130 if (RawTokens[CurRawTok].is(tok::identifier)) { in RewriteMacrosInInput()
[all …]