Searched refs:ModuleOwnershipKind (Results 1 – 8 of 8) sorted by relevance
213 enum class ModuleOwnershipKind : unsigned { enum246 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 …]
101 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()
3028 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalNewDelete()3043 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalNewDelete()3175 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalAllocationFunction()
11373 Dcl->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnFinishNamespaceDef()16387 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnStartLinkageSpecification()
613 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()
592 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()
359 (getModuleOwnershipKind() != ModuleOwnershipKind::VisibleWhenImported || in setLexicalDeclContext()
350 member->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetMemberOwningModule()1234 decl->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetOwningModule()