Home
last modified time | relevance | path

Searched refs:CurPPLexer (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/Lex/
H A DPPLexerChange.cpp51 return CurPPLexer; in getCurrentFileLexer()
114 PreprocessorLexer *PrevPPLexer = CurPPLexer; in EnterSourceFileWithLexer()
117 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
121 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
444 CurPPLexer = nullptr; in HandleEndOfFile()
449 if (!isEndOfMacro && CurPPLexer && in HandleEndOfFile()
464 if (!isEndOfMacro && CurPPLexer) { in HandleEndOfFile()
465 ExitedFID = CurPPLexer->getFileID(); in HandleEndOfFile()
558 CurPPLexer = nullptr; in HandleEndOfFile()
587 assert(CurTokenLexer && !CurPPLexer && in HandleEndOfTokenLexer()
[all …]
H A DPPDirectives.cpp509 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
677 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
679 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
708 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
710 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
739 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
743 if (!CurPPLexer) in SkipExcludedConditionalBlock()
746 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
799 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
847 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
[all …]
H A DPreprocessor.cpp685 assert(CurPPLexer && in replayPreambleConditionalStack()
687 CurPPLexer->setConditionalLevels(PreambleConditionalStack.getStack()); in replayPreambleConditionalStack()
839 if (II.isPoisoned() && CurPPLexer) { in HandleIdentifier()
1023 if (CurPPLexer) in LexHeaderName()
1024 CurPPLexer->LexIncludeFilename(FilenameTok); in LexHeaderName()
H A DPragma.cpp181 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
421 assert(CurPPLexer && "No current lexer?"); in HandlePragmaMark()
439 if (CurPPLexer) CurPPLexer->LexingRawMode = true; in HandlePragmaPoison()
441 if (CurPPLexer) CurPPLexer->LexingRawMode = false; in HandlePragmaPoison()
H A DPPMacroExpansion.cpp450 if (CurPPLexer) in isNextPPTokenLParen()
484 if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro(); in HandleMacroExpandedIdentifier()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessor.h604 PreprocessorLexer *CurPPLexer = nullptr; variable
1139 return CurPPLexer == L; in isCurrentLexer()
1146 PreprocessorLexer *getCurrentLexer() const { return CurPPLexer; } in getCurrentLexer()
2259 std::move(CurLexer), CurPPLexer, in PushIncludeMacroStack()
2261 CurPPLexer = nullptr; in PushIncludeMacroStack()
2266 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2443 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()
2453 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()