[llvm] 3c6ed55 - [IR] Remove declaration of no longer existing constructor (NFC)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 08:40:19 PDT 2023


Author: Nikita Popov
Date: 2023-07-19T17:40:10+02:00
New Revision: 3c6ed559e5274307995586c1499a2c8e4e0276a0

URL: https://github.com/llvm/llvm-project/commit/3c6ed559e5274307995586c1499a2c8e4e0276a0
DIFF: https://github.com/llvm/llvm-project/commit/3c6ed559e5274307995586c1499a2c8e4e0276a0.diff

LOG: [IR] Remove declaration of no longer existing constructor (NFC)

The definition was dropped in D155585, so drop the declaration
as well.

Thanks to Roman Divacky for pointing this out!

Added: 
    

Modified: 
    llvm/include/llvm/IR/DerivedTypes.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/DerivedTypes.h b/llvm/include/llvm/IR/DerivedTypes.h
index f98dcc62650047..203a73067edc7b 100644
--- a/llvm/include/llvm/IR/DerivedTypes.h
+++ b/llvm/include/llvm/IR/DerivedTypes.h
@@ -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:


        


More information about the llvm-commits mailing list