Use correct style casts
authorChris Lattner <sabre@nondot.org>
Mon, 10 Sep 2001 20:11:28 +0000 (20:11 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Sep 2001 20:11:28 +0000 (20:11 +0000)
Types are not all constant now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@544 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/ConstantFold.cpp

index 3ed85584184e821a2029bbae48361b63954938db..3974bf3e8867c91e317a8dc1b087bb61db2cfe42 100644 (file)
@@ -168,7 +168,7 @@ struct BoolRules : public TemplateRules<ConstPoolBool, BoolRules> {
 // different types.  This allows the C++ compiler to automatically generate our
 // constant handling operations in a typesafe and accurate manner.
 //
-template<class ConstPoolClass, class BuiltinType, const Type **Ty>
+template<class ConstPoolClass, class BuiltinType, Type **Ty>
 struct DirectRules 
   : public TemplateRules<ConstPoolClass, 
                          DirectRules<ConstPoolClass, BuiltinType, Ty> > {