Lines Matching refs:CurTokenLexer
72 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); in EnterSourceFile()
118 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
163 CurTokenLexer = std::move(TokLexer); in EnterMacro()
218 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
248 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
249 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
333 assert(!CurTokenLexer && in HandleEndOfFile()
602 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
606 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
611 CurTokenLexer.reset(); in HandleEndOfTokenLexer()
613 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer); in HandleEndOfTokenLexer()
625 if (CurTokenLexer) { in RemoveTopOfLexerStack()
628 CurTokenLexer.reset(); in RemoveTopOfLexerStack()
630 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer); in RemoveTopOfLexerStack()
640 assert(CurTokenLexer && !CurPPLexer && in HandleMicrosoftCommentPaste()