Lines Matching refs:GlobalModuleFragment
77 ModuleScopes.back().Module->Kind == Module::GlobalModuleFragment) { in ActOnGlobalModuleFragmentDecl()
219 Module *GlobalModuleFragment = nullptr; in ActOnModuleDecl() local
221 ModuleScopes.back().Module->Kind == Module::GlobalModuleFragment) in ActOnModuleDecl()
222 GlobalModuleFragment = ModuleScopes.back().Module; in ActOnModuleDecl()
225 SeenGMF == (bool)GlobalModuleFragment) && in ActOnModuleDecl()
284 GlobalModuleFragment); in ActOnModuleDecl()
305 GlobalModuleFragment); in ActOnModuleDecl()
313 GlobalModuleFragment); in ActOnModuleDecl()
318 if (!GlobalModuleFragment) { in ActOnModuleDecl()
367 switch (ModuleScopes.empty() ? Module::GlobalModuleFragment in ActOnPrivateModuleFragmentDecl()
370 case Module::GlobalModuleFragment: in ActOnPrivateModuleFragmentDecl()
924 if (!GlobalModuleFragment) { in PushGlobalModuleFragment()
926 GlobalModuleFragment = Map.createGlobalModuleFragmentForModuleUnit( in PushGlobalModuleFragment()
930 assert(GlobalModuleFragment && "module creation should not fail"); in PushGlobalModuleFragment()
933 ModuleScopes.push_back({BeginLoc, GlobalModuleFragment, in PushGlobalModuleFragment()
938 VisibleModules.setVisible(GlobalModuleFragment, BeginLoc); in PushGlobalModuleFragment()
940 return GlobalModuleFragment; in PushGlobalModuleFragment()