Searched refs:CurTokenLexer (Results 1 – 12 of 12) sorted by relevance
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()[all …]
160 CurTokenLexer.reset(); in ~Preprocessor()366 else if (CurTokenLexer) in recomputeCurLexerKind()734 ReturnedToken = CurTokenLexer->Lex(Result); in Lex()
120 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
351 !CurTokenLexer) in CheckEndOfDirective()371 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
385 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
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()[all …]
188 CurTokenLexer.reset(); in ~Preprocessor()385 else if (CurTokenLexer) in recomputeCurLexerKind()643 CurTokenLexer->Lex(Tok); in SkipTokensWhileUsingPCH()901 ReturnedToken = CurTokenLexer->Lex(Result); in Lex()
180 if ((CurTokenLexer && CurTokenLexer->isParsingPreprocessorDirective()) in HandlePragmaDirective()
366 !CurTokenLexer) in CheckEndOfDirective()421 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
439 Val = CurTokenLexer->isNextTokenLParen(); in isNextPPTokenLParen()
308 std::unique_ptr<TokenLexer> CurTokenLexer; variable1694 CurPPLexer, std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()1702 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()1850 return !CurPPLexer && !CurTokenLexer && !CurPTHLexer && in InCachingLexMode()
520 std::unique_ptr<TokenLexer> CurTokenLexer; variable2042 std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()2049 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()2214 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()