Lines Matching refs:ModuleName

371   std::string ModuleName = stringFromPath(Path);  in ActOnModuleDecl()  local
373 ModuleName += ":"; in ActOnModuleDecl()
374 ModuleName += stringFromPath(Partition); in ActOnModuleDecl()
379 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl()
387 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl()
397 if (auto *M = Map.findModule(ModuleName)) { in ActOnModuleDecl()
398 Diag(Path[0].second, diag::err_module_redefinition) << ModuleName; in ActOnModuleDecl()
409 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
422 PP.getIdentifierInfo(ModuleName), Path[0].second); in ActOnModuleDecl()
432 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl()
435 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName; in ActOnModuleDecl()
437 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
439 Mod = Map.createModuleForImplementationUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
446 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
585 std::string ModuleName; in ActOnModuleImport() local
592 ModuleName = NamedMod->getPrimaryModuleInterfaceName().str(); in ActOnModuleImport()
593 ModuleName += ":"; in ActOnModuleImport()
594 ModuleName += stringFromPath(Path); in ActOnModuleImport()
595 ModuleNameLoc = {PP.getIdentifierInfo(ModuleName), Path[0].second}; in ActOnModuleImport()
598 ModuleName = stringFromPath(Path); in ActOnModuleImport()
599 ModuleNameLoc = {PP.getIdentifierInfo(ModuleName), Path[0].second}; in ActOnModuleImport()
611 getCurrentModule()->Name == ModuleName) { in ActOnModuleImport()
613 << ModuleName << currentModuleIsImplementation(); in ActOnModuleImport()
622 if (!Mod->isInterfaceOrPartition() && !ModuleName.empty() && in ActOnModuleImport()
625 << ModuleName; in ActOnModuleImport()