Searched refs:IncludeMacroStack (Results 1 – 4 of 4) 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()331 if (IncludeMacroStack.empty() && in HandleEndOfFile()341 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()435 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()616 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()[all …]
1033 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()1087 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()2657 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
173 IncludeMacroStack.clear(); in ~Preprocessor()
829 std::vector<IncludeStackInfo> IncludeMacroStack; variable2324 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenOneOf()2549 IncludeMacroStack.emplace_back(CurLexerCallback, CurLexerSubmodule, in PushIncludeMacroStack()2556 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()2557 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()2558 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()2559 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()2560 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()2561 CurLexerCallback = IncludeMacroStack.back().CurLexerCallback; in PopIncludeMacroStack()2562 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()[all …]