Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPreprocessorLexer.h62 bool LexingRawMode; variable
82 LexingRawMode(false) {} in PreprocessorLexer()
148 bool isLexingRawMode() const { return LexingRawMode; } in isLexingRawMode()
DLexer.h155 assert(LexingRawMode && "Not already in raw mode!"); in LexFromRawLexer()
173 assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) && in SetKeepWhitespaceMode()
/external/clang/lib/Lex/
DPreprocessorLexer.cpp25 ParsingFilename(false), LexingRawMode(false) { in PreprocessorLexer()
41 if (LexingRawMode) in LexIncludeFilename()
DPPDirectives.cpp383 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
494 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
496 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
521 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
523 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
544 assert(CurPPLexer->LexingRawMode && "We have to be skipping here!"); in SkipExcludedConditionalBlock()
545 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
548 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
572 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
583 assert(CurPTHLexer->LexingRawMode == false); in PTHSkipExcludedConditionalBlock()
[all …]
DPTHLexer.cpp74 assert(!LexingRawMode); in Lex()
106 assert(!LexingRawMode); in Lex()
113 assert(!LexingRawMode); in Lex()
138 assert(!LexingRawMode); in LexEndOfFile()
DLexer.cpp99 LexingRawMode = false; in InitLexer()
138 LexingRawMode = true; in Lexer()
1525 if (LexingRawMode) in LexIdentifier()
2098 LexingRawMode = true; in SkipLineComment()
2100 LexingRawMode = OldRawMode; in SkipLineComment()
2187 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
2576 assert(!LexingRawMode && "How can we expand a macro from a skipping buffer?"); in isNextPPTokenLParen()
2581 LexingRawMode = true; in isNextPPTokenLParen()
2601 LexingRawMode = false; in isNextPPTokenLParen()
3410 if (TokAtPhysicalStartOfLine && !LexingRawMode && !Is_PragmaLexer) in LexTokenInternal()
[all …]
DPPLexerChange.cpp580 FoundLexer->LexingRawMode = true; in HandleMicrosoftCommentPaste()
604 FoundLexer->LexingRawMode = false; in HandleMicrosoftCommentPaste()
DPragma.cpp387 if (CurPPLexer) CurPPLexer->LexingRawMode = true; in HandlePragmaPoison()
389 if (CurPPLexer) CurPPLexer->LexingRawMode = false; in HandlePragmaPoison()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessorLexer.h67 bool LexingRawMode = false; variable
141 bool isLexingRawMode() const { return LexingRawMode; } in isLexingRawMode()
DLexer.h199 assert(LexingRawMode && "Not already in raw mode!"); in LexFromRawLexer()
217 assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) && in SetKeepWhitespaceMode()
/external/llvm-project/clang/lib/Lex/
DPreprocessorLexer.cpp39 if (LexingRawMode) in LexIncludeFilename()
DPPDirectives.cpp431 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
544 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
546 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
571 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
573 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
593 assert(CurPPLexer->LexingRawMode && "We have to be skipping here!"); in SkipExcludedConditionalBlock()
594 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
598 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
622 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
3064 assert(!CondInfo.WasSkipping && !CurPPLexer->LexingRawMode && in HandleEndifDirective()
DLexer.cpp123 LexingRawMode = false; in InitLexer()
155 LexingRawMode = true; in Lexer()
1665 if (LexingRawMode) in LexIdentifier()
2328 LexingRawMode = true; in SkipLineComment()
2330 LexingRawMode = OldRawMode; in SkipLineComment()
2417 if (!ParsingPreprocessorDirective || LexingRawMode) in SaveLineComment()
2813 assert(!LexingRawMode && "How can we expand a macro from a skipping buffer?"); in isNextPPTokenLParen()
2818 LexingRawMode = true; in isNextPPTokenLParen()
2838 LexingRawMode = false; in isNextPPTokenLParen()
2964 if (!PP || !PP->getPreprocessorOpts().LexEditorPlaceholders || LexingRawMode) in lexEditorPlaceholder()
[all …]
DPPLexerChange.cpp604 FoundLexer->LexingRawMode = true; in HandleMicrosoftCommentPaste()
628 FoundLexer->LexingRawMode = false; in HandleMicrosoftCommentPaste()
DPragma.cpp430 if (CurPPLexer) CurPPLexer->LexingRawMode = true; in HandlePragmaPoison()
432 if (CurPPLexer) CurPPLexer->LexingRawMode = false; in HandlePragmaPoison()
801 CurLexer->LexingRawMode = true; in HandlePragmaModuleBuild()
849 CurLexer->LexingRawMode = false; in HandlePragmaModuleBuild()