Searched refs:NewToks (Results 1 – 4 of 4) sorted by relevance
138 void Preprocessor::ReplacePreviousCachedToken(ArrayRef<Token> NewToks) { in ReplacePreviousCachedToken() argument140 CachedTokens.insert(CachedTokens.begin() + CachedLexPos - 1, NewToks.begin(), in ReplacePreviousCachedToken()141 NewToks.end()); in ReplacePreviousCachedToken()142 CachedTokens.erase(CachedTokens.begin() + CachedLexPos - 1 + NewToks.size()); in ReplacePreviousCachedToken()143 CachedLexPos += NewToks.size() - 1; in ReplacePreviousCachedToken()
157 void Preprocessor::ReplacePreviousCachedToken(ArrayRef<Token> NewToks) { in ReplacePreviousCachedToken() argument159 CachedTokens.insert(CachedTokens.begin() + CachedLexPos - 1, NewToks.begin(), in ReplacePreviousCachedToken()160 NewToks.end()); in ReplacePreviousCachedToken()161 CachedTokens.erase(CachedTokens.begin() + CachedLexPos - 1 + NewToks.size()); in ReplacePreviousCachedToken()162 CachedLexPos += NewToks.size() - 1; in ReplacePreviousCachedToken()
1214 void ReplacePreviousCachedToken(ArrayRef<Token> NewToks);
1559 void ReplacePreviousCachedToken(ArrayRef<Token> NewToks);