Lines Matching refs:Macro
163 MacroInfo *Macro, MacroArgs *Args) { in EnterMacro() argument
166 TokLexer = llvm::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
169 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
654 for (auto &Macro : StartingMacros) { in EnterSubmodule() local
656 if (!Macro.second.getLatest() && in EnterSubmodule()
657 Macro.second.getOverriddenMacros().empty()) in EnterSubmodule()
660 MacroState MS(Macro.second.getLatest()); in EnterSubmodule()
661 MS.setOverriddenMacros(*this, Macro.second.getOverriddenMacros()); in EnterSubmodule()
662 State.Macros.insert(std::make_pair(Macro.first, std::move(MS))); in EnterSubmodule()
719 auto &Macro = MacroIt->second; in LeaveSubmodule() local
740 for (auto *MD = Macro.getLatest(); MD != OldMD; MD = MD->getPrevious()) { in LeaveSubmodule()
772 if (Def || !Macro.getOverriddenMacros().empty()) in LeaveSubmodule()
774 Macro.getOverriddenMacros(), IsNew); in LeaveSubmodule()