Searched refs:IncludeMacroStack (Results 1 – 10 of 10) sorted by relevance
38 return IncludeMacroStack.empty(); in isInPrimaryFile()41 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()43 for (unsigned i = 1, e = IncludeMacroStack.size(); i != e; ++i) in isInPrimaryFile()44 if (IsFileLexer(IncludeMacroStack[i])) in isInPrimaryFile()57 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in getCurrentFileLexer()58 const IncludeStackInfo& ISI = IncludeMacroStack[i-1]; in getCurrentFileLexer()77 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()78 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()371 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()545 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()[all …]
788 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()789 IncludeStackInfo &ISEntry = IncludeMacroStack[e - i - 1]; in LookupFile()852 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()853 IncludeStackInfo &ISEntry = IncludeMacroStack[e-i-1]; in LookupFile()1739 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleIncludeDirective()
148 IncludeMacroStack.clear(); in ~Preprocessor()
393 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in isNextPPTokenLParen()394 IncludeStackInfo &Entry = IncludeMacroStack[i-1]; in isNextPPTokenLParen()
35 return IncludeMacroStack.empty(); in isInPrimaryFile()38 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()41 IncludeMacroStack.begin() + 1, IncludeMacroStack.end(), in isInPrimaryFile()53 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()72 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()73 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()312 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()402 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()570 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()594 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in HandleMicrosoftCommentPaste()
767 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()830 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()2219 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
176 IncludeMacroStack.clear(); in ~Preprocessor()
447 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
358 std::vector<IncludeStackInfo> IncludeMacroStack; variable1692 IncludeMacroStack.emplace_back( in PushIncludeMacroStack()1699 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()1700 CurPTHLexer = std::move(IncludeMacroStack.back().ThePTHLexer); in PopIncludeMacroStack()1701 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()1702 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()1703 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()1704 CurSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()1705 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()1706 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()[all …]
558 std::vector<IncludeStackInfo> IncludeMacroStack; variable2040 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()2047 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()2048 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()2049 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()2050 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()2051 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()2052 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()2053 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()2214 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()