Home
last modified time | relevance | path

Searched refs:CurPPLexer (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Lex/
DPPLexerChange.cpp54 return CurPPLexer; in getCurrentFileLexer()
115 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithLexer()
119 CurPPLexer = TheLexer; in EnterSourceFileWithLexer()
140 if (CurPPLexer || CurTokenLexer) in EnterSourceFileWithPTH()
145 CurPPLexer = CurPTHLexer.get(); in EnterSourceFileWithPTH()
152 FileID FID = CurPPLexer->getFileID(); in EnterSourceFileWithPTH()
300 if (CurPPLexer) { // Not ending a macro, ignore it. in HandleEndOfFile()
302 CurPPLexer->MIOpt.GetControllingMacroAtEndOfFile()) { in HandleEndOfFile()
304 if (const FileEntry *FE = CurPPLexer->getFileEntry()) { in HandleEndOfFile()
311 CurPPLexer->MIOpt.GetDefinedMacro()) { in HandleEndOfFile()
[all …]
DPPDirectives.cpp371 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock()
373 CurPPLexer->pushConditionalLevel(IfTokenLoc, /*isSkipping*/false, in SkipExcludedConditionalBlock()
383 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
399 while (!CurPPLexer->ConditionalStack.empty()) { in SkipExcludedConditionalBlock()
401 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()
403 CurPPLexer->ConditionalStack.pop_back(); in SkipExcludedConditionalBlock()
417 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
427 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
443 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
460 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
[all …]
DPragma.cpp121 || (CurPPLexer && CurPPLexer->ParsingPreprocessorDirective)) in HandlePragmaDirective()
368 assert(CurPPLexer && "No current lexer?"); in HandlePragmaMark()
387 if (CurPPLexer) CurPPLexer->LexingRawMode = true; in HandlePragmaPoison()
389 if (CurPPLexer) CurPPLexer->LexingRawMode = false; in HandlePragmaPoison()
456 CurPPLexer->LexIncludeFilename(FilenameTok); in HandlePragmaDependency()
636 CurPPLexer->LexIncludeFilename(SourceFilenameTok); in HandlePragmaIncludeAlias()
668 CurPPLexer->LexIncludeFilename(ReplaceFilenameTok); in HandlePragmaIncludeAlias()
DPreprocessor.cpp78 SkipMainFilePreamble(0, true), CurPPLexer(nullptr), CurDirLookup(nullptr), in Preprocessor()
654 if (II.isPoisoned() && CurPPLexer) { in HandleIdentifier()
DPPMacroExpansion.cpp391 if (CurPPLexer) in isNextPPTokenLParen()
426 if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro(); in HandleMacroExpandedIdentifier()
/external/clang/include/clang/Lex/
DPreprocessor.h296 PreprocessorLexer *CurPPLexer; variable
758 return CurPPLexer == L; in isCurrentLexer()
765 PreprocessorLexer *getCurrentLexer() const { return CurPPLexer; } in getCurrentLexer()
1694 CurPPLexer, std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack()
1695 CurPPLexer = nullptr; in PushIncludeMacroStack()
1701 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
1841 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer()
1850 return !CurPPLexer && !CurTokenLexer && !CurPTHLexer && in InCachingLexMode()