Home
last modified time | relevance | path

Searched refs:CurrentModule (Results 1 – 17 of 17) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDModuleManager.cpp333 ModuleFile *CurrentModule = Queue[QueueStart++]; in visit() local
334 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() local
376 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()
HDASTReader.cpp4182 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local
4212 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 …]
HDASTWriter.cpp1284 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDFrontendActions.cpp284 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()
HDCompilerInstance.cpp897 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()
HDCompilerInvocation.cpp1596 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()
HDASTUnit.cpp2823 return isMainFileAST() && !ASTFileLangOpts.CurrentModule.empty(); in isModuleFile()
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDLangOptions.cpp35 CurrentModule.clear(); in resetNonModularOptions()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDLangOptions.h96 std::string CurrentModule; variable
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDPPMacroExpansion.cpp326 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()
HDPreprocessor.cpp475 if (getLangOpts().CurrentModule.empty()) in getCurrentModule()
478 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
HDModuleMap.cpp555 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()
HDPPDirectives.cpp1674 getLangOpts().CurrentModule && in HandleIncludeDirective()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSema.cpp722 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local
726 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
HDSemaDeclObjC.cpp3140 if (getLangOpts().Modules && !getLangOpts().CurrentModule.empty()) in addMethodToGlobalList()
HDSemaDecl.cpp14293 if (Mod->getTopLevelModuleName() == getLangOpts().CurrentModule) in ActOnModuleImport()
14295 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenModule.cpp3371 if (getLangOpts().CurrentModule.empty() || in EmitTopLevelDecl()
3372 Owner->getTopLevelModule()->Name == getLangOpts().CurrentModule) in EmitTopLevelDecl()