Home
last modified time | relevance | path

Searched refs:getOwningModule (Results 1 – 19 of 19) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp108 Parent ? cast<Decl>(Parent)->getOwningModule() : nullptr; in operator new()
355 setLocalOwningModule(cast<Decl>(DC)->getOwningModule()); in setLexicalDeclContext()
360 getOwningModule()) && in setLexicalDeclContext()
1084 auto *M = getOwningModule(); in isInAnotherModuleUnit()
1106 return getASTContext().getLangOpts().SkipODRCheckInGMF && getOwningModule() && in shouldSkipCheckingODR()
1107 getOwningModule()->isExplicitGlobalModule(); in shouldSkipCheckingODR()
H A DDecl.cpp587 if (auto *M = D->getOwningModule()) in isDeclaredInModuleInterfaceOrPartition()
1179 if (auto *M = D->getOwningModule()) in isInNamedModule()
1630 Module *M = getOwningModule(); in getOwningModuleForLinkage()
H A DTextNodeDumper.cpp263 if (Module *M = D->getOwningModule()) in Visit()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp210 if (CurSubmoduleState->VisibleModules.isVisible(MM->getOwningModule())) { in updateModuleMacroInfo()
251 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo()
274 llvm::errs() << " " << O->getOwningModule()->getFullModuleName(); in dumpMacroInfo()
295 << MM->getOwningModule()->getFullModuleName(); in dumpMacroInfo()
302 MM->getOwningModule())) in dumpMacroInfo()
310 llvm::errs() << " " << O->getOwningModule()->getFullModuleName(); in dumpMacroInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp248 auto *OwningMod = MM->getOwningModule(); in indexPreprocessorModuleMacros()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h559 Module *getOwningModule() const { return OwningModule; } in getOwningModule() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp1565 return S.getOwningModule(Entity); in getDefiningModule()
1648 Modules->push_back(S.getOwningModule(NonConstD)); in hasAcceptableDefaultArgument()
1701 Modules->push_back(R->getOwningModule()); in hasAcceptableDeclarationImpl()
1792 Module *DeclModule = SemaRef.getOwningModule(D); in isAcceptableSlow()
1917 Module *DeclModule = SemaRef.getOwningModule(D); in isReachableSlow()
3909 Module *FM = D->getOwningModule(); in ArgumentDependentLookup()
3923 if (E->getOwningModule() != FM) in ArgumentDependentLookup()
5688 Module *Owner = getOwningModule(Def); in diagnoseMissingImport()
H A DSemaDecl.cpp1673 New->setLocalOwningModule(Old->getOwningModule()); in CheckRedeclarationModuleOwnership()
1678 Module *NewM = New->getOwningModule(); in CheckRedeclarationModuleOwnership()
1679 Module *OldM = Old->getOwningModule(); in CheckRedeclarationModuleOwnership()
1800 Module *NewM = New->getOwningModule(); in IsRedefinitionInModule()
1801 Module *OldM = Old->getOwningModule(); in IsRedefinitionInModule()
4869 noteFromModuleOrInclude(Old->getOwningModule(), OldIncLoc); in notePreviousDefinition()
9879 !NewFD->getOwningModule() || in ActOnFunctionDeclarator()
9880 NewFD->getOwningModule()->isGlobalModule() || in ActOnFunctionDeclarator()
9881 NewFD->getOwningModule()->isHeaderLikeModule(); in ActOnFunctionDeclarator()
10263 NewFD->hasOwningModule() && NewFD->getOwningModule()->isNamedModule()) { in ActOnFunctionDeclarator()
[all …]
H A DSema.cpp1289 DefInPMF = FDD->getOwningModule()->isPrivateModule(); in ActOnEndOfTranslationUnit()
H A DSemaTemplate.cpp3009 if (!OldTypeParm->getOwningModule()) in CheckTemplateParameterList()
3061 if (!OldNonTypeParm->getOwningModule()) in CheckTemplateParameterList()
3112 if (!OldTemplateParm->getOwningModule()) in CheckTemplateParameterList()
H A DSemaOverload.cpp10603 getOwningModule(VA) == getOwningModule(VB) || in isEquivalentInternalLinkageDeclaration()
10641 Module *M = getOwningModule(D); in diagnoseEquivalentInternalLinkageDeclarations()
10646 Module *M = getOwningModule(E); in diagnoseEquivalentInternalLinkageDeclarations()
H A DSemaDeclCXX.cpp12130 Module *M = ND->getOwningModule(); in DiagnoseInvisibleNamespace()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp518 clang::Module *module = module_macro->getOwningModule(); in ForEachMacro()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h843 Module *getOwningModule() const { in getOwningModule() function
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp3510 if (CXX20ModuleInits && VD->getOwningModule() && in MayBeEmittedEagerly()
3511 !VD->getOwningModule()->isModuleMapModule()) { in MayBeEmittedEagerly()
3991 if (const Module *M = F->getOwningModule(); in shouldEmitFunction()
H A DCGDebugInfo.cpp3574 if (Module *M = D->getOwningModule()) { in getParentModuleOrNull()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp352 Record.push_back(Writer.getSubmoduleID(D->getOwningModule())); in VisitDecl()
H A DASTWriter.cpp2486 ModuleMacroRecord.push_back(getSubmoduleID(Macro->getOwningModule())); in WritePreprocessor()
2489 ModuleMacroRecord.push_back(getSubmoduleID(M->getOwningModule())); in WritePreprocessor()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2393 Module *getOwningModule(const Decl *Entity) { in getOwningModule() function
2394 return Entity->getOwningModule(); in getOwningModule()