Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessorLexer.h50 bool ParsingPreprocessorDirective = false; variable
138 ParsingPreprocessorDirective = f; in setParsingPreprocessorDirective()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp115 ParsingPreprocessorDirective = false; in InitLexer()
223 L->ParsingPreprocessorDirective = true; in Create_PragmaLexer()
2326 if (ParsingPreprocessorDirective) { in SkipWhitespace()
2547 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
2938 if (ParsingPreprocessorDirective) { in LexEndOfFile()
2940 ParsingPreprocessorDirective = false; in LexEndOfFile()
3030 bool inPPDirectiveMode = ParsingPreprocessorDirective; in isNextPPTokenLParen()
3040 ParsingPreprocessorDirective = inPPDirectiveMode; in isNextPPTokenLParen()
3598 if (ParsingPreprocessorDirective) { in LexTokenInternal()
3600 ParsingPreprocessorDirective = false; in LexTokenInternal()
[all …]
H A DPPLexerChange.cpp643 LexerWasInPPMode = FoundLexer->ParsingPreprocessorDirective; in HandleMicrosoftCommentPaste()
644 FoundLexer->ParsingPreprocessorDirective = true; in HandleMicrosoftCommentPaste()
673 FoundLexer->ParsingPreprocessorDirective = false; in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp594 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
607 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
623 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
640 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
839 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
1136 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
2802 if (CurLexer->ParsingPreprocessorDirective) in ReadOptionalMacroParameterListAndBody()
H A DPragma.cpp181 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
839 CurLexer->ParsingPreprocessorDirective = true; in HandlePragmaModuleBuild()
/llvm-project-15.0.7/clang/docs/
H A DInternalsManual.rst1191 ``ParsingPreprocessorDirective`` mode is entered. This changes the parser to