Searched refs:RawTokens (Results 1 – 3 of 3) sorted by relevance
47 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, in GetNextRawTok() argument49 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() argument83 RawTokens.push_back(RawTok); in LexRawTokensFromMainFile()96 std::vector<Token> RawTokens; in RewriteMacrosInInput() local97 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()99 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()129 if (RawTokens[CurRawTok].is(tok::identifier)) { in RewriteMacrosInInput()[all …]
48 static const Token &GetNextRawTok(const std::vector<Token> &RawTokens, in GetNextRawTok() argument50 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() argument84 RawTokens.push_back(RawTok); in LexRawTokensFromMainFile()97 std::vector<Token> RawTokens; in RewriteMacrosInInput() local98 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()100 Token RawTok = GetNextRawTok(RawTokens, CurRawTok, false); in RewriteMacrosInInput()130 if (RawTokens[CurRawTok].is(tok::identifier)) { in RewriteMacrosInInput()[all …]
704 pub fn tokens(&self) -> RawTokens { in tokens() argument705 RawTokens::new(self) in tokens()732 pub struct RawTokens<'a> { struct739 impl<'a> RawTokens<'a> { argument770 impl<'a> Drop for RawTokens<'a> { implementation