Lines Matching refs:CurTokenLexer
74 assert(!CurTokenLexer && "Cannot #include a file inside a macro!"); in EnterSourceFile()
115 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
140 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithPTH()
174 CurTokenLexer = std::move(TokLexer); in EnterMacro()
226 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
257 if (CurTokenLexer) { in PropagateLineStartLeadingSpaceInfo()
258 CurTokenLexer->PropagateLineStartLeadingSpaceInfo(Result); in PropagateLineStartLeadingSpaceInfo()
296 assert(!CurTokenLexer && in HandleEndOfFile()
524 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
528 MacroExpandingLexersStack.back().first == CurTokenLexer.get()) in HandleEndOfTokenLexer()
533 CurTokenLexer.reset(); in HandleEndOfTokenLexer()
535 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer); in HandleEndOfTokenLexer()
547 if (CurTokenLexer) { in RemoveTopOfLexerStack()
550 CurTokenLexer.reset(); in RemoveTopOfLexerStack()
552 TokenLexerCache[NumCachedTokenLexers++] = std::move(CurTokenLexer); in RemoveTopOfLexerStack()
562 assert(CurTokenLexer && !CurPPLexer && in HandleMicrosoftCommentPaste()