Searched refs:CurPPLexer (Results 1 – 6 of 6) sorted by relevance
52 return CurPPLexer; in getCurrentFileLexer()104 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()108 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()446 if (isCodeCompletionEnabled() && CurPPLexer && in HandleEndOfFile()454 CurPPLexer = nullptr; in HandleEndOfFile()459 if (!isEndOfMacro && CurPPLexer && in HandleEndOfFile()474 if (!isEndOfMacro && CurPPLexer) { in HandleEndOfFile()475 ExitedFID = CurPPLexer->getFileID(); in HandleEndOfFile()561 CurPPLexer = nullptr; in HandleEndOfFile()590 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()[all …]
460 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()573 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()575 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()601 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()603 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()625 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()629 if (!CurPPLexer) in SkipExcludedConditionalBlock()632 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()667 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()709 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()[all …]
669 assert(CurPPLexer && in replayPreambleConditionalStack()671 CurPPLexer->setConditionalLevels(PreambleConditionalStack.getStack()); in replayPreambleConditionalStack()821 if (II.isPoisoned() && CurPPLexer) { in HandleIdentifier()989 if (CurPPLexer) in LexHeaderName()990 CurPPLexer->LexIncludeFilename(FilenameTok); in LexHeaderName()
183 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()418 assert(CurPPLexer && "No current lexer?"); in HandlePragmaMark()436 if (CurPPLexer) CurPPLexer->LexingRawMode = true; in HandlePragmaPoison()438 if (CurPPLexer) CurPPLexer->LexingRawMode = false; in HandlePragmaPoison()
447 if (CurPPLexer) in isNextPPTokenLParen()479 if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro(); in HandleMacroExpandedIdentifier()
510 PreprocessorLexer *CurPPLexer = nullptr; variable993 return CurPPLexer == L; in isCurrentLexer()1000 PreprocessorLexer *getCurrentLexer() const { return CurPPLexer; } in getCurrentLexer()2048 std::move(CurLexer), CurPPLexer, in PushIncludeMacroStack()2050 CurPPLexer = nullptr; in PushIncludeMacroStack()2055 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()2211 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()2221 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()