Home
last modified time | relevance | path

Searched refs:ParsingPreprocessorDirective (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessorLexer.h51 bool ParsingPreprocessorDirective = false; variable
146 ParsingPreprocessorDirective = f; in setParsingPreprocessorDirective()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp114 ParsingPreprocessorDirective = false; in InitLexer()
217 L->ParsingPreprocessorDirective = true; in Create_PragmaLexer()
2238 if (ParsingPreprocessorDirective) { in SkipWhitespace()
2406 if (ParsingPreprocessorDirective || CurPtr == BufferEnd) { in SkipLineComment()
2434 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
2773 if (ParsingPreprocessorDirective) { in LexEndOfFile()
2775 ParsingPreprocessorDirective = false; in LexEndOfFile()
2858 bool inPPDirectiveMode = ParsingPreprocessorDirective; in isNextPPTokenLParen()
2868 ParsingPreprocessorDirective = inPPDirectiveMode; in isNextPPTokenLParen()
3315 if (ParsingPreprocessorDirective) { in LexTokenInternal()
[all …]
H A DPPLexerChange.cpp646 LexerWasInPPMode = FoundLexer->ParsingPreprocessorDirective; in HandleMicrosoftCommentPaste()
647 FoundLexer->ParsingPreprocessorDirective = true; in HandleMicrosoftCommentPaste()
676 FoundLexer->ParsingPreprocessorDirective = false; in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp496 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
506 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
522 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
539 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
701 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
995 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
2630 if (CurLexer->ParsingPreprocessorDirective) in ReadOptionalMacroParameterListAndBody()
H A DPragma.cpp183 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
882 CurLexer->ParsingPreprocessorDirective = true; in HandlePragmaModuleBuild()