@@ -589,7 +589,7 @@ unsigned IRGenModule::getReferenceStorageExtraInhabitantCount(
589589 case ReferenceCounting::ObjC:
590590 case ReferenceCounting::None:
591591 case ReferenceCounting::Unknown:
592- case ReferenceCounting::CxxCustom :
592+ case ReferenceCounting::Custom :
593593 break ;
594594 case ReferenceCounting::Bridge:
595595 case ReferenceCounting::Error:
@@ -619,7 +619,7 @@ SpareBitVector IRGenModule::getReferenceStorageSpareBits(
619619 case ReferenceCounting::Block:
620620 case ReferenceCounting::ObjC:
621621 case ReferenceCounting::None:
622- case ReferenceCounting::CxxCustom :
622+ case ReferenceCounting::Custom :
623623 case ReferenceCounting::Unknown:
624624 break ;
625625 case ReferenceCounting::Bridge:
@@ -650,7 +650,7 @@ APInt IRGenModule::getReferenceStorageExtraInhabitantValue(unsigned bits,
650650 case ReferenceCounting::Block:
651651 case ReferenceCounting::ObjC:
652652 case ReferenceCounting::None:
653- case ReferenceCounting::CxxCustom :
653+ case ReferenceCounting::Custom :
654654 case ReferenceCounting::Unknown:
655655 break ;
656656 case ReferenceCounting::Bridge:
@@ -672,7 +672,7 @@ APInt IRGenModule::getReferenceStorageExtraInhabitantMask(
672672 case ReferenceCounting::Block:
673673 case ReferenceCounting::ObjC:
674674 case ReferenceCounting::None:
675- case ReferenceCounting::CxxCustom :
675+ case ReferenceCounting::Custom :
676676 case ReferenceCounting::Unknown:
677677 break ;
678678 case ReferenceCounting::Bridge:
@@ -693,7 +693,7 @@ llvm::Value *IRGenFunction::getReferenceStorageExtraInhabitantIndex(Address src,
693693 case ReferenceCounting::Block:
694694 case ReferenceCounting::ObjC:
695695 case ReferenceCounting::None:
696- case ReferenceCounting::CxxCustom :
696+ case ReferenceCounting::Custom :
697697 case ReferenceCounting::Unknown:
698698 break ;
699699 case ReferenceCounting::Bridge:
@@ -731,7 +731,7 @@ void IRGenFunction::storeReferenceStorageExtraInhabitant(llvm::Value *index,
731731 case ReferenceCounting::Block:
732732 case ReferenceCounting::ObjC:
733733 case ReferenceCounting::None:
734- case ReferenceCounting::CxxCustom :
734+ case ReferenceCounting::Custom :
735735 case ReferenceCounting::Unknown:
736736 break ;
737737 case ReferenceCounting::Bridge:
@@ -766,7 +766,7 @@ void IRGenFunction::storeReferenceStorageExtraInhabitant(llvm::Value *index,
766766 std::move (spareBits), isOptional); \
767767 case ReferenceCounting::ObjC: \
768768 case ReferenceCounting::None: \
769- case ReferenceCounting::CxxCustom : \
769+ case ReferenceCounting::Custom : \
770770 case ReferenceCounting::Block: \
771771 case ReferenceCounting::Unknown: \
772772 return new Unknown##Name##ReferenceTypeInfo ( \
@@ -1022,7 +1022,7 @@ void IRGenFunction::emitStrongRelease(llvm::Value *value,
10221022 return emitBridgeStrongRelease (value, atomicity);
10231023 case ReferenceCounting::Error:
10241024 return emitErrorStrongRelease (value);
1025- case ReferenceCounting::CxxCustom :
1025+ case ReferenceCounting::Custom :
10261026 llvm_unreachable (" Ref counting should be handled in TypeInfo." );
10271027 case ReferenceCounting::None:
10281028 return ; // This is a no-op if we don't have any ref-counting.
@@ -1051,7 +1051,7 @@ void IRGenFunction::emitStrongRetain(llvm::Value *value,
10511051 case ReferenceCounting::Error:
10521052 emitErrorStrongRetain (value);
10531053 return ;
1054- case ReferenceCounting::CxxCustom :
1054+ case ReferenceCounting::Custom :
10551055 llvm_unreachable (" Ref counting should be handled in TypeInfo." );
10561056 case ReferenceCounting::None:
10571057 return ; // This is a no-op if we don't have any ref-counting.
@@ -1072,7 +1072,7 @@ llvm::Type *IRGenModule::getReferenceType(ReferenceCounting refcounting) {
10721072 return UnknownRefCountedPtrTy;
10731073 case ReferenceCounting::Error:
10741074 return ErrorPtrTy;
1075- case ReferenceCounting::CxxCustom :
1075+ case ReferenceCounting::Custom :
10761076 case ReferenceCounting::None:
10771077 return OpaquePtrTy;
10781078 }
@@ -1092,7 +1092,7 @@ llvm::Type *IRGenModule::getReferenceType(ReferenceCounting refcounting) {
10921092 case ReferenceCounting::Bridge: \
10931093 case ReferenceCounting::Block: \
10941094 case ReferenceCounting::Error: \
1095- case ReferenceCounting::CxxCustom : \
1095+ case ReferenceCounting::Custom : \
10961096 case ReferenceCounting::None: \
10971097 llvm_unreachable (" unsupported reference kind with reference storage" ); \
10981098 } \
@@ -1110,7 +1110,7 @@ llvm::Type *IRGenModule::getReferenceType(ReferenceCounting refcounting) {
11101110 case ReferenceCounting::Bridge: \
11111111 case ReferenceCounting::Block: \
11121112 case ReferenceCounting::Error: \
1113- case ReferenceCounting::CxxCustom : \
1113+ case ReferenceCounting::Custom : \
11141114 case ReferenceCounting::None: \
11151115 llvm_unreachable (" unsupported reference kind with reference storage" ); \
11161116 } \
0 commit comments