Lines Matching refs:Macro
152 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() argument
155 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
158 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
736 for (auto &Macro : StartingMacros) { in EnterSubmodule() local
738 if (!Macro.second.getLatest() && in EnterSubmodule()
739 Macro.second.getOverriddenMacros().empty()) in EnterSubmodule()
742 MacroState MS(Macro.second.getLatest()); in EnterSubmodule()
743 MS.setOverriddenMacros(*this, Macro.second.getOverriddenMacros()); in EnterSubmodule()
744 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); in EnterSubmodule()
815 auto &Macro = MacroIt->second; in LeaveSubmodule() local
836 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
857 if (Def || !Macro.getOverriddenMacros().empty()) in LeaveSubmodule()
859 Macro.getOverriddenMacros(), IsNew); in LeaveSubmodule()
864 Macro.setLatest(nullptr); in LeaveSubmodule()
865 Macro.setOverriddenMacros(*this, {}); in LeaveSubmodule()