Lines Matching refs:RawTokens
47 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()
130 const IdentifierInfo *II = RawTokens[CurRawTok].getIdentifierInfo(); in RewriteMacrosInInput()
135 RawTokens[CurRawTok+1].is(tok::identifier) && in RewriteMacrosInInput()
136 (RawTokens[CurRawTok+1].getIdentifierInfo()->getName() == in RewriteMacrosInInput()
145 RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
147 RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
158 RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()
175 RawTok = GetNextRawTok(RawTokens, CurRawTok, true); in RewriteMacrosInInput()
180 RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()