Lines Matching refs:ModuleName

285   std::string ModuleName = stringFromPath(Path);  in ActOnModuleDecl()  local
287 ModuleName += ":"; in ActOnModuleDecl()
288 ModuleName += stringFromPath(Partition); in ActOnModuleDecl()
293 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl()
301 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl()
311 if (auto *M = Map.findModule(ModuleName)) { in ActOnModuleDecl()
312 Diag(Path[0].second, diag::err_module_redefinition) << ModuleName; in ActOnModuleDecl()
323 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
336 PP.getIdentifierInfo(ModuleName), Path[0].second); in ActOnModuleDecl()
346 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl()
349 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName; in ActOnModuleDecl()
351 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
353 Mod = Map.createModuleForImplementationUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
360 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName); in ActOnModuleDecl()
495 std::string ModuleName; in ActOnModuleImport() local
502 ModuleName = NamedMod->getPrimaryModuleInterfaceName().str(); in ActOnModuleImport()
503 ModuleName += ":"; in ActOnModuleImport()
504 ModuleName += stringFromPath(Path); in ActOnModuleImport()
505 ModuleNameLoc = {PP.getIdentifierInfo(ModuleName), Path[0].second}; in ActOnModuleImport()
508 ModuleName = stringFromPath(Path); in ActOnModuleImport()
509 ModuleNameLoc = {PP.getIdentifierInfo(ModuleName), Path[0].second}; in ActOnModuleImport()
521 getCurrentModule()->Name == ModuleName) { in ActOnModuleImport()
523 << ModuleName << currentModuleIsImplementation(); in ActOnModuleImport()
532 if (!Mod->isInterfaceOrPartition() && !ModuleName.empty() && in ActOnModuleImport()
535 << ModuleName; in ActOnModuleImport()