[IR] Remove declaration of no longer existing constructor (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 19 Jul 2023 15:28:47 +0000 (17:28 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 19 Jul 2023 15:40:10 +0000 (17:40 +0200)
The definition was dropped in D155585, so drop the declaration
as well.

Thanks to Roman Divacky for pointing this out!

llvm/include/llvm/IR/DerivedTypes.h

index f98dcc6..203a730 100644 (file)
@@ -641,7 +641,6 @@ inline ElementCount VectorType::getElementCount() const {
 
 /// Class to represent pointers.
 class PointerType : public Type {
-  explicit PointerType(Type *ElType, unsigned AddrSpace);
   explicit PointerType(LLVMContext &C, unsigned AddrSpace);
 
 public: