aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-10 20:11:28 +0000
committerChris Lattner <sabre@nondot.org>2001-09-10 20:11:28 +0000
commit243f1f73154f1f52858700f4d46eb3d169a2c267 (patch)
tree768a8204a161e2725a53490e049da56dce77bfa7
parentc4e09ec453af406db7dc92e7d994d727edc7663b (diff)
downloadexternal_llvm-243f1f73154f1f52858700f4d46eb3d169a2c267.zip
external_llvm-243f1f73154f1f52858700f4d46eb3d169a2c267.tar.gz
external_llvm-243f1f73154f1f52858700f4d46eb3d169a2c267.tar.bz2
Use correct style casts
Types are not all constant now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@544 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/ConstantFold.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp
index 3ed8558..3974bf3 100644
--- a/lib/VMCore/ConstantFold.cpp
+++ b/lib/VMCore/ConstantFold.cpp
@@ -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> > {