Home | History | Annotate | Download | only in Parse

Lines Matching refs:LineToks

1704       SmallVector<Token, 16> LineToks;
1706 findTokensForString(LineBuf, LineToks, FirstOrigToken);
1710 TheParser.ParseMSAsmIdentifier(LineToks, NumConsumedToks, &Info,
1715 if (NumConsumedToks == 0 || NumConsumedToks == LineToks.size()) {
1724 == LineToks[NumConsumedToks].getLocation());
1816 ExprResult Parser::ParseMSAsmIdentifier(llvm::SmallVectorImpl<Token> &LineToks,
1830 LineToks.push_back(EndOfStreamTok);
1833 LineToks.push_back(Tok);
1835 PP.EnterTokenStream(LineToks.begin(),
1836 LineToks.size(),
1840 // Clear the current token and advance to the first token in LineToks.
1863 NumLineToksConsumed = LineToks.size() - 2;
1867 // Figure out how many tokens we are into LineToks.
1869 while (LineToks[LineIndex].getLocation() != Tok.getLocation()) {
1871 assert(LineIndex < LineToks.size() - 2); // we added two extra tokens
1880 for (unsigned n = LineToks.size() - 2 - NumLineToksConsumed; n != 0; --n) {
1885 // Leave LineToks in its original state.
1886 LineToks.pop_back();
1887 LineToks.pop_back();