Lines Matching refs:GlobalModuleFragment
78 ModuleScopes.back().Module->Kind == Module::GlobalModuleFragment) { in ActOnGlobalModuleFragmentDecl()
248 SeenGMF == (bool)this->GlobalModuleFragment) && in ActOnModuleDecl()
373 if (!this->GlobalModuleFragment) { in ActOnModuleDecl()
422 switch (ModuleScopes.empty() ? Module::GlobalModuleFragment in ActOnPrivateModuleFragmentDecl()
425 case Module::GlobalModuleFragment: in ActOnPrivateModuleFragmentDecl()
982 if (!GlobalModuleFragment) { in PushGlobalModuleFragment()
984 GlobalModuleFragment = Map.createGlobalModuleFragmentForModuleUnit( in PushGlobalModuleFragment()
988 assert(GlobalModuleFragment && "module creation should not fail"); in PushGlobalModuleFragment()
991 ModuleScopes.push_back({BeginLoc, GlobalModuleFragment, in PushGlobalModuleFragment()
996 VisibleModules.setVisible(GlobalModuleFragment, BeginLoc); in PushGlobalModuleFragment()
998 return GlobalModuleFragment; in PushGlobalModuleFragment()