Searched refs:CurPPLexer (Results 1 – 6 of 6) sorted by relevance
52 return CurPPLexer; in getCurrentFileLexer()115 PreprocessorLexer *PrevPPLexer = CurPPLexer; in EnterSourceFileWithLexer()118 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()122 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()365 if (CurPPLexer) { // Not ending a macro, ignore it. in HandleEndOfFile()367 CurPPLexer->MIOpt.GetControllingMacroAtEndOfFile()) { in HandleEndOfFile()369 if (OptionalFileEntryRef FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()374 CurPPLexer->MIOpt.GetDefinedMacro()) { in HandleEndOfFile()393 Diag(CurPPLexer->MIOpt.GetMacroLocation(), in HandleEndOfFile()395 << CurPPLexer->MIOpt.GetMacroLocation() << ControllingMacro; in HandleEndOfFile()[all …]
499 assert(CurPPLexer && "Conditional PP block must be in a file!"); in SkipExcludedConditionalBlock()505 CurPPLexer->pushConditionalLevel(IfTokenLoc, /*isSkipping*/ false, in SkipExcludedConditionalBlock()510 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()595 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()608 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()624 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()641 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()658 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true, in SkipExcludedConditionalBlock()669 bool InCond = CurPPLexer->popConditionalLevel(CondInfo); in SkipExcludedConditionalBlock()678 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()[all …]
182 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()433 assert(CurPPLexer && "No current lexer?"); in HandlePragmaMark()451 if (CurPPLexer) CurPPLexer->LexingRawMode = true; in HandlePragmaPoison()453 if (CurPPLexer) CurPPLexer->LexingRawMode = false; in HandlePragmaPoison()
672 assert(CurPPLexer && in replayPreambleConditionalStack()674 CurPPLexer->setConditionalLevels(PreambleConditionalStack.getStack()); in replayPreambleConditionalStack()803 if (II.isPoisoned() && CurPPLexer) { in HandleIdentifier()1004 if (CurPPLexer) in LexHeaderName()1005 CurPPLexer->LexIncludeFilename(FilenameTok); in LexHeaderName()
453 if (CurPPLexer) in isNextPPTokenLParen()487 if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro(); in HandleMacroExpandedIdentifier()
759 PreprocessorLexer *CurPPLexer = nullptr; variable1285 return CurPPLexer == L; in isCurrentLexer()1292 PreprocessorLexer *getCurrentLexer() const { return CurPPLexer; } in getCurrentLexer()2475 std::move(CurLexer), CurPPLexer, in PushIncludeMacroStack()2477 CurPPLexer = nullptr; in PushIncludeMacroStack()2482 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()2680 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()2690 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()