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