Lines Matching refs:ModuleName
161 std::string ModuleName; in ActOnModuleDecl() local
163 if (!ModuleName.empty()) in ActOnModuleDecl()
164 ModuleName += "."; in ActOnModuleDecl()
165 ModuleName += Piece.first->getName(); in ActOnModuleDecl()
171 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl()
177 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl()
186 if (auto *M = Map.findModule(ModuleName)) { in ActOnModuleDecl()
187 Diag(Path[0].second, diag::err_module_redefinition) << ModuleName; in ActOnModuleDecl()
198 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName, in ActOnModuleDecl()
206 PP.getIdentifierInfo(ModuleName), Path[0].second); in ActOnModuleDecl()
211 Diag(ModuleLoc, diag::err_module_not_defined) << ModuleName; in ActOnModuleDecl()
213 Mod = Map.createModuleForInterfaceUnit(ModuleLoc, ModuleName, in ActOnModuleDecl()
314 std::string ModuleName; in ActOnModuleImport() local
316 if (!ModuleName.empty()) in ActOnModuleImport()
317 ModuleName += "."; in ActOnModuleImport()
318 ModuleName += Piece.first->getName(); in ActOnModuleImport()
320 ModuleNameLoc = {PP.getIdentifierInfo(ModuleName), Path[0].second}; in ActOnModuleImport()