Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp52 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 …]
H A DPPDirectives.cpp460 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 …]
H A DPreprocessor.cpp669 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()
H A DPragma.cpp183 || (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()
H A DPPMacroExpansion.cpp447 if (CurPPLexer) in isNextPPTokenLParen()
479 if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro(); in HandleMacroExpandedIdentifier()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h510 PreprocessorLexer *CurPPLexer = nullptr; variable
993 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()