Lines Matching defs:TokenStream
731 bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream,
734 assert((TokenStream[CurIdx].is(tok::hashhash) ||
736 isWideStringLiteralFromMacro(LHSTok, TokenStream[CurIdx]))) &&
744 TokenStream[CurIdx - 2].is(tok::hashhash))
752 auto IsAtEnd = [&TokenStream, &CurIdx] {
753 return TokenStream.size() == CurIdx;
758 PasteOpLoc = TokenStream[CurIdx].getLocation();
759 if (TokenStream[CurIdx].is(tok::hashhash))
764 const Token &RHS = TokenStream[CurIdx];
889 } while (!IsAtEnd() && TokenStream[CurIdx].is(tok::hashhash));
891 SourceLocation EndLoc = TokenStream[CurIdx - 1].getLocation();