@@ -669,9 +669,6 @@ class PointerType : public Type {
669
669
return PointerType::get (C, 0 );
670
670
}
671
671
672
- [[deprecated(" Always returns true" )]]
673
- bool isOpaque () const { return true ; }
674
-
675
672
// / Return true if the specified type is valid as a element type.
676
673
static bool isValidElementType (Type *ElemTy);
677
674
@@ -681,24 +678,6 @@ class PointerType : public Type {
681
678
// / Return the address space of the Pointer type.
682
679
inline unsigned getAddressSpace () const { return getSubclassData (); }
683
680
684
- // / Return true if either this is an opaque pointer type or if this pointee
685
- // / type matches Ty. Primarily used for checking if an instruction's pointer
686
- // / operands are valid types. Will be useless after non-opaque pointers are
687
- // / removed.
688
- [[deprecated(" Always returns true" )]]
689
- bool isOpaqueOrPointeeTypeMatches (Type *) {
690
- return true ;
691
- }
692
-
693
- // / Return true if both pointer types have the same element type. Two opaque
694
- // / pointers are considered to have the same element type, while an opaque
695
- // / and a non-opaque pointer have different element types.
696
- // / TODO: Remove after opaque pointer transition is complete.
697
- [[deprecated(" Always returns true" )]]
698
- bool hasSameElementTypeAs (PointerType *Other) {
699
- return true ;
700
- }
701
-
702
681
// / Implement support type inquiry through isa, cast, and dyn_cast.
703
682
static bool classof (const Type *T) {
704
683
return T->getTypeID () == PointerTyID;
0 commit comments