summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
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
commitdd009521fe08fffb70d4d005ae2c86dd2c119dde (patch)
tree959d941394686216048f0f7f06d0db858de6a7db /llvm/lib/VMCore
parente014d797b48b33116139441cf5d57f0f85129600 (diff)
downloadbcm5719-llvm-dd009521fe08fffb70d4d005ae2c86dd2c119dde.tar.gz
bcm5719-llvm-dd009521fe08fffb70d4d005ae2c86dd2c119dde.zip
Use correct style casts
Types are not all constant now llvm-svn: 544
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/ConstantHandling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/ConstantHandling.cpp b/llvm/lib/VMCore/ConstantHandling.cpp
index 3ed85584184..3974bf3e886 100644
--- a/llvm/lib/VMCore/ConstantHandling.cpp
+++ b/llvm/lib/VMCore/ConstantHandling.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> > {
OpenPOWER on IntegriCloud