Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessorLexer.h50 bool ParsingPreprocessorDirective = false; variable
138 ParsingPreprocessorDirective = f; in setParsingPreprocessorDirective()
/src/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp163 ParsingPreprocessorDirective = false; in InitLexer()
271 L->ParsingPreprocessorDirective = true; in Create_PragmaLexer()
1777 if (!isLexingRawMode() && !ParsingPreprocessorDirective && in tryConsumeIdentifierUCN()
1830 if (!isLexingRawMode() && !ParsingPreprocessorDirective && in tryConsumeIdentifierUTF8Char()
1862 if (!isLexingRawMode() && !ParsingPreprocessorDirective && in LexUnicodeIdentifierStart()
1878 if (!isLexingRawMode() && !ParsingPreprocessorDirective && in LexUnicodeIdentifierStart()
2513 if (ParsingPreprocessorDirective) { in SkipWhitespace()
2706 if (ParsingPreprocessorDirective || CurPtr == BufferEnd) { in SkipLineComment()
2734 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
3066 assert(ParsingPreprocessorDirective && ParsingFilename == false && in ReadToEndOfLine()
[all …]
H A DPPLexerChange.cpp658 LexerWasInPPMode = FoundLexer->ParsingPreprocessorDirective; in HandleMicrosoftCommentPaste()
659 FoundLexer->ParsingPreprocessorDirective = true; in HandleMicrosoftCommentPaste()
688 FoundLexer->ParsingPreprocessorDirective = false; in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp595 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
608 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
624 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
641 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
840 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
1205 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
2920 if (CurLexer->ParsingPreprocessorDirective) in ReadOptionalMacroParameterListAndBody()
H A DPragma.cpp182 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
851 CurLexer->ParsingPreprocessorDirective = true; in HandlePragmaModuleBuild()