Home
last modified time | relevance | path

Searched refs:ModuleOwnershipKind (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclBase.h213 enum class ModuleOwnershipKind : unsigned { enum
246 llvm::PointerIntPair<Decl *, 3, ModuleOwnershipKind> NextInContextAndBits;
361 static ModuleOwnershipKind getModuleOwnershipKindForChildOf(DeclContext *DC) { in getModuleOwnershipKindForChildOf()
365 if (MOK != ModuleOwnershipKind::Unowned && in getModuleOwnershipKindForChildOf()
371 return ModuleOwnershipKind::Unowned; in getModuleOwnershipKindForChildOf()
626 return getModuleOwnershipKind() == ModuleOwnershipKind::ModulePrivate; in isModulePrivate()
644 return getModuleOwnershipKind() > ModuleOwnershipKind::VisibleWhenImported; in isInvisibleOutsideTheOwningModule()
664 if (getModuleOwnershipKind() == ModuleOwnershipKind::Unowned) in setModulePrivate()
666 setModuleOwnershipKind(ModuleOwnershipKind::ModulePrivate); in setModulePrivate()
804 return getModuleOwnershipKind() != ModuleOwnershipKind::Unowned; in hasOwningModule()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp101 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnGlobalModuleFragmentDecl()
144 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::Visible); in HandleStartOfHeaderUnit()
395 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnModuleDecl()
474 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in ActOnPrivateModuleFragmentDecl()
685 ? Decl::ModuleOwnershipKind::VisibleWhenImported in ActOnModuleBegin()
686 : Decl::ModuleOwnershipKind::Visible); in ActOnModuleBegin()
727 Decl::ModuleOwnershipKind::Unowned); in ActOnModuleEnd()
818 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnStartExportDecl()
H A DSemaExprCXX.cpp3028 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalNewDelete()
3043 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalNewDelete()
3175 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalAllocationFunction()
H A DSemaDeclCXX.cpp11373 Dcl->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnFinishNamespaceDef()
16387 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnStartLinkageSpecification()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp613 auto ModuleOwnership = (Decl::ModuleOwnershipKind)Record.readInt(); in VisitDecl()
615 (ModuleOwnership == Decl::ModuleOwnershipKind::ModulePrivate); in VisitDecl()
622 case Decl::ModuleOwnershipKind::Visible: in VisitDecl()
623 ModuleOwnership = Decl::ModuleOwnershipKind::VisibleWhenImported; in VisitDecl()
625 case Decl::ModuleOwnershipKind::Unowned: in VisitDecl()
626 case Decl::ModuleOwnershipKind::VisibleWhenImported: in VisitDecl()
627 case Decl::ModuleOwnershipKind::ReachableWhenImported: in VisitDecl()
628 case Decl::ModuleOwnershipKind::ModulePrivate: in VisitDecl()
650 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in VisitDecl()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDecl.cpp592 case Decl::ModuleOwnershipKind::Unowned: in isExportedFromModuleInterfaceUnit()
593 case Decl::ModuleOwnershipKind::ReachableWhenImported: in isExportedFromModuleInterfaceUnit()
594 case Decl::ModuleOwnershipKind::ModulePrivate: in isExportedFromModuleInterfaceUnit()
596 case Decl::ModuleOwnershipKind::Visible: in isExportedFromModuleInterfaceUnit()
597 case Decl::ModuleOwnershipKind::VisibleWhenImported: in isExportedFromModuleInterfaceUnit()
H A DDeclBase.cpp359 (getModuleOwnershipKind() != ModuleOwnershipKind::VisibleWhenImported || in setLexicalDeclContext()
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp350 member->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetMemberOwningModule()
1234 decl->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetOwningModule()