Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPreprocessorLexer.h43 bool ParsingPreprocessorDirective; variable
78 ParsingPreprocessorDirective(false), in PreprocessorLexer()
141 ParsingPreprocessorDirective = f; in setParsingPreprocessorDirective()
/external/clang/lib/Lex/
DPreprocessorLexer.cpp24 ParsingPreprocessorDirective(false), in PreprocessorLexer()
33 assert(ParsingPreprocessorDirective && in LexIncludeFilename()
DPTHLexer.cpp108 assert(!ParsingPreprocessorDirective); in Lex()
129 assert(ParsingPreprocessorDirective); in Lex()
130 ParsingPreprocessorDirective = false; in Lex()
141 if (ParsingPreprocessorDirective) { in LexEndOfFile()
142 ParsingPreprocessorDirective = false; // Done parsing the "line". in LexEndOfFile()
168 assert(ParsingPreprocessorDirective && ParsingFilename == false && in DiscardToEndOfLine()
173 ParsingPreprocessorDirective = false; in DiscardToEndOfLine()
DPPDirectives.cpp253 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
263 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
279 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
296 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
392 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
447 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
449 CurPTHLexer->ParsingPreprocessorDirective = false; in PTHSkipExcludedConditionalBlock()
472 CurPTHLexer->ParsingPreprocessorDirective = true; in PTHSkipExcludedConditionalBlock()
474 CurPTHLexer->ParsingPreprocessorDirective = false; in PTHSkipExcludedConditionalBlock()
566 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
[all …]
DPPLexerChange.cpp455 LexerWasInPPMode = FoundLexer->ParsingPreprocessorDirective; in HandleMicrosoftCommentPaste()
456 FoundLexer->ParsingPreprocessorDirective = true; in HandleMicrosoftCommentPaste()
485 FoundLexer->ParsingPreprocessorDirective = false; in HandleMicrosoftCommentPaste()
DLexer.cpp98 ParsingPreprocessorDirective = false; in InitLexer()
199 L->ParsingPreprocessorDirective = true; in Create_PragmaLexer()
1856 if (ParsingPreprocessorDirective) { in SkipWhitespace()
1998 if (ParsingPreprocessorDirective || CurPtr == BufferEnd) { in SkipBCPLComment()
2025 if (!ParsingPreprocessorDirective) in SaveBCPLComment()
2290 assert(ParsingPreprocessorDirective && ParsingFilename == false && in ReadToEndOfLine()
2346 if (ParsingPreprocessorDirective) { in LexEndOfFile()
2348 ParsingPreprocessorDirective = false; in LexEndOfFile()
2403 bool inPPDirectiveMode = ParsingPreprocessorDirective; in isNextPPTokenLParen()
2411 ParsingPreprocessorDirective = inPPDirectiveMode; in isNextPPTokenLParen()
[all …]
DPragma.cpp114 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
/external/clang/lib/Frontend/
DCacheTokens.cpp281 bool ParsingPreprocessorDirective = false; in LexTokens() local
289 ParsingPreprocessorDirective) { in LexTokens()
299 ParsingPreprocessorDirective = false; in LexTokens()
311 assert(!ParsingPreprocessorDirective); in LexTokens()
336 ParsingPreprocessorDirective = true; in LexTokens()