File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -685,19 +685,17 @@ class PointerType : public Type {
685
685
686
686
// / This constructs a pointer to an object of the specified type in a numbered
687
687
// / address space.
688
- LLVM_DEPRECATED (" PointerType::get with pointee type is pending removal. Use "
689
- " Context overload." ,
690
- " PointerType::get(LLVMContext, AS)" )
688
+ [[deprecated(" PointerType::get with pointee type is pending removal. Use "
689
+ " Context overload." )]]
691
690
static PointerType *get (Type *ElementType, unsigned AddressSpace);
692
691
// / This constructs an opaque pointer to an object in a numbered address
693
692
// / space.
694
693
static PointerType *get (LLVMContext &C, unsigned AddressSpace);
695
694
696
695
// / This constructs a pointer to an object of the specified type in the
697
696
// / default address space (address space zero).
698
- LLVM_DEPRECATED (" PointerType::getUnqual with pointee type is pending "
699
- " removal. Use Context overload." ,
700
- " PointerType::getUnqual(LLVMCOntext)" )
697
+ [[deprecated(" PointerType::getUnqual with pointee type is pending removal. "
698
+ " Use Context overload." )]]
701
699
static PointerType *getUnqual (Type *ElementType) {
702
700
return PointerType::get (ElementType, 0 );
703
701
}
You can’t perform that action at this time.
0 commit comments