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 {
685685
686686 // / This constructs a pointer to an object of the specified type in a numbered
687687 // / 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." )]]
691690 static PointerType *get (Type *ElementType, unsigned AddressSpace);
692691 // / This constructs an opaque pointer to an object in a numbered address
693692 // / space.
694693 static PointerType *get (LLVMContext &C, unsigned AddressSpace);
695694
696695 // / This constructs a pointer to an object of the specified type in the
697696 // / 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." )]]
701699 static PointerType *getUnqual (Type *ElementType) {
702700 return PointerType::get (ElementType, 0 );
703701 }
You can’t perform that action at this time.
0 commit comments