Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPreprocessorLexer.h43 bool ParsingPreprocessorDirective; variable
80 ParsingPreprocessorDirective(false), in PreprocessorLexer()
144 ParsingPreprocessorDirective = f; in setParsingPreprocessorDirective()
/external/clang/lib/Lex/
DPreprocessorLexer.cpp24 ParsingPreprocessorDirective(false), in PreprocessorLexer()
33 assert(ParsingPreprocessorDirective && in LexIncludeFilename()
DPTHLexer.cpp105 assert(!ParsingPreprocessorDirective); in Lex()
120 assert(ParsingPreprocessorDirective); in Lex()
121 ParsingPreprocessorDirective = false; in Lex()
133 if (ParsingPreprocessorDirective) { in LexEndOfFile()
134 ParsingPreprocessorDirective = false; // Done parsing the "line". in LexEndOfFile()
160 assert(ParsingPreprocessorDirective && ParsingFilename == false && in DiscardToEndOfLine()
165 ParsingPreprocessorDirective = false; in DiscardToEndOfLine()
DLexer.cpp90 ParsingPreprocessorDirective = false; in InitLexer()
192 L->ParsingPreprocessorDirective = true; in Create_PragmaLexer()
2004 if (ParsingPreprocessorDirective) { in SkipWhitespace()
2159 if (ParsingPreprocessorDirective || CurPtr == BufferEnd) { in SkipLineComment()
2187 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
2453 assert(ParsingPreprocessorDirective && ParsingFilename == false && in ReadToEndOfLine()
2510 if (ParsingPreprocessorDirective) { in LexEndOfFile()
2512 ParsingPreprocessorDirective = false; in LexEndOfFile()
2585 bool inPPDirectiveMode = ParsingPreprocessorDirective; in isNextPPTokenLParen()
2595 ParsingPreprocessorDirective = inPPDirectiveMode; in isNextPPTokenLParen()
[all …]
DPPDirectives.cpp417 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
427 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
443 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
460 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
564 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
618 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
620 CurPTHLexer->ParsingPreprocessorDirective = false; in PTHSkipExcludedConditionalBlock()
643 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
645 CurPTHLexer->ParsingPreprocessorDirective = false; in PTHSkipExcludedConditionalBlock()
904 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
[all …]
DPPLexerChange.cpp581 LexerWasInPPMode = FoundLexer->ParsingPreprocessorDirective; in HandleMicrosoftCommentPaste()
582 FoundLexer->ParsingPreprocessorDirective = true; in HandleMicrosoftCommentPaste()
611 FoundLexer->ParsingPreprocessorDirective = false; in HandleMicrosoftCommentPaste()
DPragma.cpp121 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessorLexer.h49 bool ParsingPreprocessorDirective = false; variable
137 ParsingPreprocessorDirective = f; in setParsingPreprocessorDirective()
/external/clang/lib/Frontend/
DCacheTokens.cpp305 bool ParsingPreprocessorDirective = false; in LexTokens() local
313 ParsingPreprocessorDirective) { in LexTokens()
323 ParsingPreprocessorDirective = false; in LexTokens()
335 assert(!ParsingPreprocessorDirective); in LexTokens()
360 ParsingPreprocessorDirective = true; in LexTokens()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp114 ParsingPreprocessorDirective = false; in InitLexer()
217 L->ParsingPreprocessorDirective = true; in Create_PragmaLexer()
2221 if (ParsingPreprocessorDirective) { in SkipWhitespace()
2389 if (ParsingPreprocessorDirective || CurPtr == BufferEnd) { in SkipLineComment()
2417 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
2683 assert(ParsingPreprocessorDirective && ParsingFilename == false && in ReadToEndOfLine()
2742 if (ParsingPreprocessorDirective) { in LexEndOfFile()
2744 ParsingPreprocessorDirective = false; in LexEndOfFile()
2822 bool inPPDirectiveMode = ParsingPreprocessorDirective; in isNextPPTokenLParen()
2832 ParsingPreprocessorDirective = inPPDirectiveMode; in isNextPPTokenLParen()
[all …]
DPPLexerChange.cpp605 LexerWasInPPMode = FoundLexer->ParsingPreprocessorDirective; in HandleMicrosoftCommentPaste()
606 FoundLexer->ParsingPreprocessorDirective = true; in HandleMicrosoftCommentPaste()
635 FoundLexer->ParsingPreprocessorDirective = false; in HandleMicrosoftCommentPaste()
DPPDirectives.cpp467 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
477 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
493 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
510 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
614 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
908 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
2535 if (CurLexer->ParsingPreprocessorDirective) in ReadOptionalMacroParameterListAndBody()
DPragma.cpp181 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
831 CurLexer->ParsingPreprocessorDirective = true; in HandlePragmaModuleBuild()
/external/clang/docs/
DInternalsManual.rst743 ``ParsingPreprocessorDirective`` mode is entered. This changes the parser to
/external/llvm-project/clang/docs/
DInternalsManual.rst768 ``ParsingPreprocessorDirective`` mode is entered. This changes the parser to