Searched refs:CurPPLexer (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 54 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 …]
|
D | PPDirectives.cpp | 290 assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?"); in SkipExcludedConditionalBlock() 292 CurPPLexer->pushConditionalLevel(IfTokenLoc, /*isSkipping*/false, in SkipExcludedConditionalBlock() 302 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock() 318 while (!CurPPLexer->ConditionalStack.empty()) { in SkipExcludedConditionalBlock() 320 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock() 322 CurPPLexer->ConditionalStack.pop_back(); in SkipExcludedConditionalBlock() 336 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock() 346 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock() 362 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock() 379 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock() [all …]
|
D | Pragma.cpp | 121 || (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()
|
D | Preprocessor.cpp | 75 SkipMainFilePreamble(0, true), CurPPLexer(nullptr), CurDirLookup(nullptr), in Preprocessor() 651 if (II.isPoisoned() && CurPPLexer) { in HandleIdentifier()
|
D | PPMacroExpansion.cpp | 391 if (CurPPLexer) in isNextPPTokenLParen() 426 if (CurPPLexer) CurPPLexer->MIOpt.ExpandedMacro(); in HandleMacroExpandedIdentifier()
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 295 PreprocessorLexer *CurPPLexer; variable 751 return CurPPLexer == L; in isCurrentLexer() 758 PreprocessorLexer *getCurrentLexer() const { return CurPPLexer; } in getCurrentLexer() 1666 CurPPLexer, std::move(CurTokenLexer), CurDirLookup); in PushIncludeMacroStack() 1667 CurPPLexer = nullptr; in PushIncludeMacroStack() 1673 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack() 1809 return IsFileLexer(CurLexer.get(), CurPPLexer); in IsFileLexer() 1818 return !CurPPLexer && !CurTokenLexer && !CurPTHLexer && in InCachingLexMode()
|