Lines Matching refs:CurrentModule
3409 Module *CurrentModule = 0;
3460 CurrentModule = ModMap.findOrCreateModule(Name, ParentModule,
3470 if (const FileEntry *CurFile = CurrentModule->getASTFile()) {
3474 << CurrentModule->getTopLevelModuleName()
3481 CurrentModule->setASTFile(F.File);
3482 CurrentModule->IsFromModuleFile = true;
3483 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem;
3484 CurrentModule->InferSubmodules = InferSubmodules;
3485 CurrentModule->InferExplicitSubmodules = InferExplicitSubmodules;
3486 CurrentModule->InferExportWildcard = InferExportWildcard;
3488 DeserializationListener->ModuleRead(GlobalID, CurrentModule);
3490 SubmodulesLoaded[GlobalIndex] = CurrentModule;
3493 CurrentModule->LinkLibraries.clear();
3503 if (!CurrentModule)
3507 if (!CurrentModule->getUmbrellaHeader())
3508 ModMap.setUmbrellaHeader(CurrentModule, Umbrella);
3509 else if (CurrentModule->getUmbrellaHeader() != Umbrella) {
3523 if (!CurrentModule)
3538 if (!CurrentModule)
3553 if (!CurrentModule)
3556 CurrentModule->addTopHeaderFilename(Blob);
3566 if (!CurrentModule)
3571 if (!CurrentModule->getUmbrellaDir())
3572 ModMap.setUmbrellaDir(CurrentModule, Umbrella);
3573 else if (CurrentModule->getUmbrellaDir() != Umbrella) {
3613 if (!CurrentModule)
3619 Unresolved.Mod = CurrentModule;
3634 if (!CurrentModule)
3640 Unresolved.Mod = CurrentModule;
3649 CurrentModule->UnresolvedExports.clear();
3658 if (!CurrentModule)
3661 CurrentModule->addRequirement(Blob, Context.getLangOpts(),
3672 if (!CurrentModule)
3675 CurrentModule->LinkLibraries.push_back(
3707 LangOpts.CurrentModule.assign(Record.begin() + Idx,