Searched refs:IncludeMacroStack (Results 1 – 5 of 5) sorted by relevance
37 return IncludeMacroStack.empty(); in isInPrimaryFile()40 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()43 llvm::drop_begin(IncludeMacroStack), in isInPrimaryFile()55 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()75 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()76 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()338 if (IncludeMacroStack.empty() && in HandleEndOfFile()348 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()443 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()624 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()[all …]
1006 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()1060 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()2547 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
171 IncludeMacroStack.clear(); in ~Preprocessor()
454 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
785 std::vector<IncludeStackInfo> IncludeMacroStack; variable2430 IncludeMacroStack.emplace_back(CurLexerCallback, CurLexerSubmodule, in PushIncludeMacroStack()2437 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()2438 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()2439 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()2440 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()2441 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()2442 CurLexerCallback = IncludeMacroStack.back().CurLexerCallback; in PopIncludeMacroStack()2443 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()2625 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()