Lines Matching refs:LineToks
60 SmallVector<Token, 16> LineToks;
62 findTokensForString(LineBuf, LineToks, FirstOrigToken);
66 LineToks, NumConsumedToks, &Info, IsUnevaluatedContext);
70 if (NumConsumedToks == 0 || NumConsumedToks == LineToks.size()) {
79 LineToks[NumConsumedToks].getLocation());
183 ExprResult Parser::ParseMSAsmIdentifier(llvm::SmallVectorImpl<Token> &LineToks,
197 LineToks.push_back(EndOfStreamTok);
200 LineToks.push_back(Tok);
202 PP.EnterTokenStream(LineToks.begin(), LineToks.size(),
206 // Clear the current token and advance to the first token in LineToks.
249 // Figure out how many tokens we are into LineToks.
252 LineIndex = LineToks.size() - 2;
254 while (LineToks[LineIndex].getLocation() != Tok.getLocation()) {
256 assert(LineIndex < LineToks.size() - 2); // we added two extra tokens
263 NumLineToksConsumed = LineToks.size() - 2;
271 for (unsigned i = 0, e = LineToks.size() - LineIndex - 2; i != e; ++i) {
277 // Leave LineToks in its original state.
278 LineToks.pop_back();
279 LineToks.pop_back();