[llvm] 712b0a2 - Constants.h - remove unnecessary forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 02:08:26 PDT 2020


Author: Simon Pilgrim
Date: 2020-06-26T09:58:22+01:00
New Revision: 712b0a20267eba0d69fff38fe2f1c3d835d0f7c0

URL: https://github.com/llvm/llvm-project/commit/712b0a20267eba0d69fff38fe2f1c3d835d0f7c0
DIFF: https://github.com/llvm/llvm-project/commit/712b0a20267eba0d69fff38fe2f1c3d835d0f7c0.diff

LOG: Constants.h - remove unnecessary forward declarations. NFC.

We have to include DerivedTypes.h

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/Constants.h b/llvm/include/llvm/IR/Constants.h
index 25d8f6afc1bd..c2c2cac649f1 100644
--- a/llvm/include/llvm/IR/Constants.h
+++ b/llvm/include/llvm/IR/Constants.h
@@ -41,11 +41,6 @@
 
 namespace llvm {
 
-class ArrayType;
-class IntegerType;
-class PointerType;
-class StructType;
-class VectorType;
 template <class ConstantClass> struct ConstantAggrKeyType;
 
 /// Base class for constants with no operands.


        


More information about the llvm-commits mailing list