Lines Matching defs:TokenStream
733 bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream,
736 assert((TokenStream[CurIdx].is(tok::hashhash) ||
738 isWideStringLiteralFromMacro(LHSTok, TokenStream[CurIdx]))) &&
746 TokenStream[CurIdx - 2].is(tok::hashhash))
754 auto IsAtEnd = [&TokenStream, &CurIdx] {
755 return TokenStream.size() == CurIdx;
760 PasteOpLoc = TokenStream[CurIdx].getLocation();
761 if (TokenStream[CurIdx].is(tok::hashhash))
766 const Token &RHS = TokenStream[CurIdx];
891 } while (!IsAtEnd() && TokenStream[CurIdx].is(tok::hashhash));
893 SourceLocation EndLoc = TokenStream[CurIdx - 1].getLocation();