Searched refs:IncludeMacroStack (Results 1 – 5 of 5) sorted by relevance
36 return IncludeMacroStack.empty(); in isInPrimaryFile()39 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()42 llvm::drop_begin(IncludeMacroStack), in isInPrimaryFile()54 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()74 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()75 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()338 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()433 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()608 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()632 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in HandleMicrosoftCommentPaste()
995 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()1058 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()2509 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
167 IncludeMacroStack.clear(); in ~Preprocessor()
452 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
655 std::vector<IncludeStackInfo> IncludeMacroStack; variable2258 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()2265 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()2266 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()2267 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()2268 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()2269 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()2270 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()2271 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()2453 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()