Searched refs:CurrentModule (Results 1 – 17 of 17) sorted by relevance
333 ModuleFile *CurrentModule = Queue[QueueStart++]; in visit() local334 VisitOrder.push_back(CurrentModule); in visit()339 M = CurrentModule->Imports.begin(), in visit()340 MEnd = CurrentModule->Imports.end(); in visit()374 ModuleFile *CurrentModule = VisitOrder[I]; in visit() local376 if (State->VisitNumber[CurrentModule->Index] == VisitNumber) in visit()380 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1); in visit()381 State->VisitNumber[CurrentModule->Index] = VisitNumber; in visit()382 if (!Visitor(*CurrentModule, UserData)) in visit()388 ModuleFile *NextModule = CurrentModule; in visit()
4182 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local4212 if (!CurrentModule && Kind != SUBMODULE_METADATA && in ReadSubmoduleBlock()4245 CurrentModule = ModMap.findOrCreateModule(Name, ParentModule, IsFramework, in ReadSubmoduleBlock()4259 if (const FileEntry *CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock()4263 << CurrentModule->getTopLevelModuleName() in ReadSubmoduleBlock()4271 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock()4274 CurrentModule->Signature = F.Signature; in ReadSubmoduleBlock()4275 CurrentModule->IsFromModuleFile = true; in ReadSubmoduleBlock()4276 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock()4277 CurrentModule->IsExternC = IsExternC; in ReadSubmoduleBlock()[all …]
1284 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock()
284 if (CI.getLangOpts().CurrentModule.empty()) { in BeginSourceFileAction()299 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in BeginSourceFileAction()303 Module = HS.lookupModule(CI.getLangOpts().CurrentModule, in BeginSourceFileAction()307 << CI.getLangOpts().CurrentModule << Filename; in BeginSourceFileAction()378 HS.getModuleFileName(CI.getLangOpts().CurrentModule, in ComputeASTConsumerArguments()
897 Invocation->getLangOpts()->CurrentModule = Module->getTopLevelModuleName(); in compileModuleImpl()1376 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule && in loadModule()1391 } else if (ModuleName == getLangOpts().CurrentModule || in loadModule()1592 if (ModuleName != getLangOpts().CurrentModule) { in loadModule()
1596 Opts.CurrentModule = Args.getLastArgValue(OPT_fmodule_name); in ParseLangArgs()1606 if (!Opts.CurrentModule.empty() && !Opts.ImplementationOfModule.empty() && in ParseLangArgs()1607 Opts.CurrentModule != Opts.ImplementationOfModule) { in ParseLangArgs()1609 << Opts.CurrentModule << Opts.ImplementationOfModule; in ParseLangArgs()
2823 return isMainFileAST() && !ASTFileLangOpts.CurrentModule.empty(); in isModuleFile()
35 CurrentModule.clear(); in resetNonModularOptions()
96 std::string CurrentModule; variable
326 if (!LangOpts.CurrentModule.empty()) in RegisterBuiltinMacros()1433 = Tok.getIdentifierInfo()->getName() == PP.getLangOpts().CurrentModule; in EvaluateBuildingModule()1730 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro()1731 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
475 if (getLangOpts().CurrentModule.empty()) in getCurrentModule()478 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
555 if (LangOpts.CurrentModule == Name) { in findOrCreateModule()561 if (!LangOpts.CurrentModule.empty() && !CompilingModule && in findOrCreateModule()562 Name == LangOpts.CurrentModule) { in findOrCreateModule()683 if (LangOpts.CurrentModule == ModuleName) { in inferFrameworkModule()
1674 getLangOpts().CurrentModule && in HandleIncludeDirective()
722 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local726 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
3140 if (getLangOpts().Modules && !getLangOpts().CurrentModule.empty()) in addMethodToGlobalList()
14293 if (Mod->getTopLevelModuleName() == getLangOpts().CurrentModule) in ActOnModuleImport()14295 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport()
3371 if (getLangOpts().CurrentModule.empty() || in EmitTopLevelDecl()3372 Owner->getTopLevelModule()->Name == getLangOpts().CurrentModule) in EmitTopLevelDecl()