Home
last modified time | relevance | path

Searched refs:ParsingPreprocessorDirective (Results 1 – 9 of 9) 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()
1976 if (ParsingPreprocessorDirective) { in SkipWhitespace()
2131 if (ParsingPreprocessorDirective || CurPtr == BufferEnd) { in SkipLineComment()
2159 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
2425 assert(ParsingPreprocessorDirective && ParsingFilename == false && in ReadToEndOfLine()
2482 if (ParsingPreprocessorDirective) { in LexEndOfFile()
2484 ParsingPreprocessorDirective = false; in LexEndOfFile()
2557 bool inPPDirectiveMode = ParsingPreprocessorDirective; in isNextPPTokenLParen()
2567 ParsingPreprocessorDirective = inPPDirectiveMode; in isNextPPTokenLParen()
[all …]
DPPDirectives.cpp336 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
346 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
362 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
379 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
483 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
538 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
540 CurPTHLexer->ParsingPreprocessorDirective = false; in PTHSkipExcludedConditionalBlock()
563 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
565 CurPTHLexer->ParsingPreprocessorDirective = false; in PTHSkipExcludedConditionalBlock()
761 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
[all …]
DPPLexerChange.cpp582 LexerWasInPPMode = FoundLexer->ParsingPreprocessorDirective; in HandleMicrosoftCommentPaste()
583 FoundLexer->ParsingPreprocessorDirective = true; in HandleMicrosoftCommentPaste()
612 FoundLexer->ParsingPreprocessorDirective = false; in HandleMicrosoftCommentPaste()
DPragma.cpp121 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
/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/clang/docs/
DInternalsManual.rst743 ``ParsingPreprocessorDirective`` mode is entered. This changes the parser to