Lines Matching refs:CurrentModule
3057 Module *CurrentModule = 0;
3119 CurrentModule = ModMap.findOrCreateModule(Name, ParentModule,
3129 CurrentModule->IsFromModuleFile = true;
3130 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem;
3131 CurrentModule->InferSubmodules = InferSubmodules;
3132 CurrentModule->InferExplicitSubmodules = InferExplicitSubmodules;
3133 CurrentModule->InferExportWildcard = InferExportWildcard;
3135 DeserializationListener->ModuleRead(GlobalID, CurrentModule);
3137 SubmodulesLoaded[GlobalIndex] = CurrentModule;
3147 if (!CurrentModule)
3152 if (!CurrentModule->getUmbrellaHeader())
3153 ModMap.setUmbrellaHeader(CurrentModule, Umbrella);
3154 else if (CurrentModule->getUmbrellaHeader() != Umbrella) {
3168 if (!CurrentModule)
3174 if (std::find(CurrentModule->Headers.begin(),
3175 CurrentModule->Headers.end(),
3176 File) == CurrentModule->Headers.end())
3177 ModMap.addHeader(CurrentModule, File);
3188 if (!CurrentModule)
3194 if (!CurrentModule->getUmbrellaDir())
3195 ModMap.setUmbrellaDir(CurrentModule, Umbrella);
3196 else if (CurrentModule->getUmbrellaDir() != Umbrella) {
3236 if (!CurrentModule)
3242 Unresolved.Mod = CurrentModule;
3257 if (!CurrentModule)
3263 Unresolved.Mod = CurrentModule;
3272 CurrentModule->UnresolvedExports.clear();
3281 if (!CurrentModule)
3284 CurrentModule->addRequirement(StringRef(BlobStart, BlobLen),
3312 LangOpts.CurrentModule.assign(Record.begin() + Idx,