reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/PointerIntPair.h
   53   PointerIntPair(PointerTy PtrVal, IntType IntVal) {
   61   IntType getInt() const { return (IntType)Info::getInt(Value); }
   67   void setInt(IntType IntVal) LLVM_LVALUE_FUNCTION {
   75   void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION {
tools/clang/include/clang/AST/DeclBase.h
  244   llvm::PointerIntPair<Decl *, 2, ModuleOwnershipKind> NextInContextAndBits;
  358   static ModuleOwnershipKind getModuleOwnershipKindForChildOf(DeclContext *DC) {
  361       auto MOK = D->getModuleOwnershipKind();
  362       if (MOK != ModuleOwnershipKind::Unowned &&
  368     return ModuleOwnershipKind::Unowned;
  608     return getModuleOwnershipKind() == ModuleOwnershipKind::ModulePrivate;
  624     if (getModuleOwnershipKind() == ModuleOwnershipKind::Unowned)
  626     setModuleOwnershipKind(ModuleOwnershipKind::ModulePrivate);
  755     return getModuleOwnershipKind() != ModuleOwnershipKind::Unowned;
  775     return (int)getModuleOwnershipKind() > (int)ModuleOwnershipKind::Visible;
  782       setModuleOwnershipKind(ModuleOwnershipKind::Visible);
  786   ModuleOwnershipKind getModuleOwnershipKind() const {
  791   void setModuleOwnershipKind(ModuleOwnershipKind MOK) {
tools/clang/lib/AST/Decl.cpp
  580   case Decl::ModuleOwnershipKind::Unowned:
  581   case Decl::ModuleOwnershipKind::ModulePrivate:
  583   case Decl::ModuleOwnershipKind::Visible:
  584   case Decl::ModuleOwnershipKind::VisibleWhenImported:
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9467     Dcl->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported);
tools/clang/lib/Sema/SemaModule.cpp
   85   TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::Visible);
  240   TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate);
  302   TU->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate);
  457               ? Decl::ModuleOwnershipKind::VisibleWhenImported
  458               : Decl::ModuleOwnershipKind::Visible);
  499             Decl::ModuleOwnershipKind::Unowned);
  581   D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::VisibleWhenImported);
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  607         ModulePrivate ? Decl::ModuleOwnershipKind::ModulePrivate
  608                       : Decl::ModuleOwnershipKind::VisibleWhenImported);
  625     D->setModuleOwnershipKind(Decl::ModuleOwnershipKind::ModulePrivate);