Lines Matching refs:CurrentModule
86 Module *CurrentModule, in isImportingModuleUnitFromSameModule() argument
101 if (!CurrentModule) in isImportingModuleUnitFromSameModule()
110 if (!CurrentModule->isModulePartitionImplementation()) in isImportingModuleUnitFromSameModule()
113 if (Ctx.isInSameModule(Imported, CurrentModule)) { in isImportingModuleUnitFromSameModule()
131 Module *Imported, Module *CurrentModule, in makeTransitiveImportsVisible() argument
154 if (isImportingModuleUnitFromSameModule(Ctx, Importing, CurrentModule, in makeTransitiveImportsVisible()
190 StringRef HUName = getLangOpts().CurrentModule; in HandleStartOfHeaderUnit()
194 const_cast<LangOptions &>(getLangOpts()).CurrentModule = HUName.str(); in HandleStartOfHeaderUnit()
378 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl()
379 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl()
384 << getLangOpts().CurrentModule; in ActOnModuleDecl()
387 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl()
428 const_cast<LangOptions &>(getLangOpts()).CurrentModule = ""; in ActOnModuleDecl()
432 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl()
663 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport()
755 getLangOpts().CurrentModule, DirectiveLoc, false, false); in BuildModuleInclude()