Lines Matching refs:CurTokenLexer
69 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); in EnterSourceFile()
102 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
136 CurTokenLexer = std::move(TokLexer); in EnterMacro()
191 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
222 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
223 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
306 assert(!CurTokenLexer && in HandleEndOfFile()
549 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
553 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
558 CurTokenLexer.reset(); in HandleEndOfTokenLexer()
560 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer); in HandleEndOfTokenLexer()
572 if (CurTokenLexer) { in RemoveTopOfLexerStack()
575 CurTokenLexer.reset(); in RemoveTopOfLexerStack()
577 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer); in RemoveTopOfLexerStack()
587 assert(CurTokenLexer && !CurPPLexer && in HandleMicrosoftCommentPaste()