Lines Matching refs:Macro
151 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() argument
154 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
157 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
720 for (auto &Macro : StartingMacros) { in EnterSubmodule() local
722 if (!Macro.second.getLatest() && in EnterSubmodule()
723 Macro.second.getOverriddenMacros().empty()) in EnterSubmodule()
726 MacroState MS(Macro.second.getLatest()); in EnterSubmodule()
727 MS.setOverriddenMacros(*this, Macro.second.getOverriddenMacros()); in EnterSubmodule()
728 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); in EnterSubmodule()
799 auto &Macro = MacroIt->second; in LeaveSubmodule() local
820 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
841 if (Def || !Macro.getOverriddenMacros().empty()) in LeaveSubmodule()
843 Macro.getOverriddenMacros(), IsNew); in LeaveSubmodule()
848 Macro.setLatest(nullptr); in LeaveSubmodule()
849 Macro.setOverriddenMacros(*this, {}); in LeaveSubmodule()