Searched refs:ModuleOwnershipKind (Results 1 – 8 of 8) sorted by relevance
215 enum class ModuleOwnershipKind : unsigned char { enum377 if (MOK != ModuleOwnershipKind::Unowned && in getModuleOwnershipKindForChildOf()383 return ModuleOwnershipKind::Unowned; in getModuleOwnershipKindForChildOf()699 if (getModuleOwnershipKind() == ModuleOwnershipKind::Unowned) in setModulePrivate()701 setModuleOwnershipKind(ModuleOwnershipKind::ModulePrivate); in setModulePrivate()839 return getModuleOwnershipKind() != ModuleOwnershipKind::Unowned; in hasOwningModule()865 (int)ModuleOwnershipKind::ReachableWhenImported; in isReachable()872 setModuleOwnershipKind(ModuleOwnershipKind::Visible); in setVisibleDespiteOwningModule()876 ModuleOwnershipKind getModuleOwnershipKind() const { in getModuleOwnershipKind()881 void setModuleOwnershipKind(ModuleOwnershipKind MOK) { in setModuleOwnershipKind()[all …]
91 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnGlobalModuleFragmentDecl()133 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::Visible); in HandleStartOfHeaderUnit()385 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ReachableWhenImported); in ActOnModuleDecl()477 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in ActOnPrivateModuleFragmentDecl()684 ? Decl::ModuleOwnershipKind::VisibleWhenImported in ActOnModuleBegin()685 : Decl::ModuleOwnershipKind::Visible); in ActOnModuleBegin()726 Decl::ModuleOwnershipKind::Unowned); in ActOnModuleEnd()817 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnStartExportDecl()
3067 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalNewDelete()3082 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalNewDelete()3215 Decl::ModuleOwnershipKind::ReachableWhenImported); in DeclareGlobalAllocationFunction()
11795 Dcl->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnFinishNamespaceDef()
588 (Decl::ModuleOwnershipKind)DeclBits.getNextBits(/*Width=*/3); in VisitDecl()648 (ModuleOwnership == Decl::ModuleOwnershipKind::ModulePrivate); in VisitDecl()651 case Decl::ModuleOwnershipKind::Visible: in VisitDecl()652 ModuleOwnership = Decl::ModuleOwnershipKind::VisibleWhenImported; in VisitDecl()654 case Decl::ModuleOwnershipKind::Unowned: in VisitDecl()655 case Decl::ModuleOwnershipKind::VisibleWhenImported: in VisitDecl()656 case Decl::ModuleOwnershipKind::ReachableWhenImported: in VisitDecl()657 case Decl::ModuleOwnershipKind::ModulePrivate: in VisitDecl()679 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in VisitDecl()
1187 case Decl::ModuleOwnershipKind::Unowned: in isExportedFromModuleInterfaceUnit()1188 case Decl::ModuleOwnershipKind::ReachableWhenImported: in isExportedFromModuleInterfaceUnit()1189 case Decl::ModuleOwnershipKind::ModulePrivate: in isExportedFromModuleInterfaceUnit()1191 case Decl::ModuleOwnershipKind::Visible: in isExportedFromModuleInterfaceUnit()1192 case Decl::ModuleOwnershipKind::VisibleWhenImported: in isExportedFromModuleInterfaceUnit()
359 (getModuleOwnershipKind() != ModuleOwnershipKind::VisibleWhenImported || in setLexicalDeclContext()
352 member->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetMemberOwningModule()1234 decl->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetOwningModule()