Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp52 return CurPPLexer; in getCurrentFileLexer()
115 PreprocessorLexer *PrevPPLexer = CurPPLexer; in EnterSourceFileWithLexer()
118 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
122 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
454 CurPPLexer = nullptr; in HandleEndOfFile()
459 if (!isEndOfMacro && CurPPLexer && in HandleEndOfFile()
474 if (!isEndOfMacro && CurPPLexer) { in HandleEndOfFile()
475 ExitedFID = CurPPLexer->getFileID(); in HandleEndOfFile()
574 CurPPLexer = nullptr; in HandleEndOfFile()
603 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 DPragma.cpp182 || (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()
H A DPreprocessor.cpp668 assert(CurPPLexer && in replayPreambleConditionalStack()
670 CurPPLexer->setConditionalLevels(PreambleConditionalStack.getStack()); in replayPreambleConditionalStack()
799 if (II.isPoisoned() && CurPPLexer) { in HandleIdentifier()
995 if (CurPPLexer) in LexHeaderName()
996 CurPPLexer->LexIncludeFilename(FilenameTok); in LexHeaderName()
H A DPPMacroExpansion.cpp452 if (CurPPLexer) in isNextPPTokenLParen()
486 if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro(); in HandleMacroExpandedIdentifier()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h739 PreprocessorLexer *CurPPLexer = nullptr; variable
1265 return CurPPLexer == L; in isCurrentLexer()
1272 PreprocessorLexer *getCurrentLexer() const { return CurPPLexer; } in getCurrentLexer()
2431 std::move(CurLexer), CurPPLexer, in PushIncludeMacroStack()
2433 CurPPLexer = nullptr; in PushIncludeMacroStack()
2438 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2615 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()
2625 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()