Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/AST/
DDeclBase.h219 enum class ModuleOwnershipKind : unsigned { enum
245 llvm::PointerIntPair<Decl *, 2, ModuleOwnershipKind> NextInContextAndBits;
359 static ModuleOwnershipKind getModuleOwnershipKindForChildOf(DeclContext *DC) { in getModuleOwnershipKindForChildOf()
363 if (MOK != ModuleOwnershipKind::Unowned && in getModuleOwnershipKindForChildOf()
369 return ModuleOwnershipKind::Unowned; in getModuleOwnershipKindForChildOf()
613 return getModuleOwnershipKind() == ModuleOwnershipKind::ModulePrivate; in isModulePrivate()
629 if (getModuleOwnershipKind() == ModuleOwnershipKind::Unowned) in setModulePrivate()
631 setModuleOwnershipKind(ModuleOwnershipKind::ModulePrivate); in setModulePrivate()
769 return getModuleOwnershipKind() != ModuleOwnershipKind::Unowned; in hasOwningModule()
790 return (int)getModuleOwnershipKind() <= (int)ModuleOwnershipKind::Visible; in isUnconditionallyVisible()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaModule.cpp83 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::Visible); in ActOnGlobalModuleFragmentDecl()
238 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in ActOnModuleDecl()
300 TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in ActOnPrivateModuleFragmentDecl()
455 ? Decl::ModuleOwnershipKind::VisibleWhenImported in ActOnModuleBegin()
456 : Decl::ModuleOwnershipKind::Visible); in ActOnModuleBegin()
497 Decl::ModuleOwnershipKind::Unowned); in ActOnModuleEnd()
579 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnStartExportDecl()
DSemaDeclCXX.cpp11010 Dcl->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported); in ActOnFinishNamespaceDef()
/external/llvm-project/clang/lib/AST/
DDecl.cpp581 case Decl::ModuleOwnershipKind::Unowned: in isExportedFromModuleInterfaceUnit()
582 case Decl::ModuleOwnershipKind::ModulePrivate: in isExportedFromModuleInterfaceUnit()
584 case Decl::ModuleOwnershipKind::Visible: in isExportedFromModuleInterfaceUnit()
585 case Decl::ModuleOwnershipKind::VisibleWhenImported: in isExportedFromModuleInterfaceUnit()
DDeclBase.cpp350 (getModuleOwnershipKind() != ModuleOwnershipKind::VisibleWhenImported || in setLexicalDeclContext()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp611 ModulePrivate ? Decl::ModuleOwnershipKind::ModulePrivate in VisitDecl()
612 : Decl::ModuleOwnershipKind::VisibleWhenImported); in VisitDecl()
629 D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate); in VisitDecl()
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp349 member->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetMemberOwningModule()
1245 decl->setModuleOwnershipKind(clang::Decl::ModuleOwnershipKind::Visible); in SetOwningModule()