summaryrefslogtreecommitdiff
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-02 21:49:26 +0000
committerDevang Patel <dpatel@apple.com>2009-09-02 21:49:26 +0000
commit8fc55764139f478087fc0a0d3c02da436e84bf43 (patch)
tree64d319e39923fa597ac936981ee5c27afd986669 /include/llvm/Constants.h
parentd9489cbb0cf933da9e2154a5336533d6254a5c30 (diff)
downloadllvm-8fc55764139f478087fc0a0d3c02da436e84bf43.tar.gz
llvm-8fc55764139f478087fc0a0d3c02da436e84bf43.tar.bz2
llvm-8fc55764139f478087fc0a0d3c02da436e84bf43.tar.xz
Revert 80839 for now. It causes test failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index da6fe96a77..fdcc53bc79 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -38,7 +38,7 @@ class VectorType;
template<class ConstantClass, class TypeClass, class ValType>
struct ConstantCreator;
template<class ConstantClass, class TypeClass>
-struct ConvertConstantType;
+struct ConvertConstant;
//===----------------------------------------------------------------------===//
/// This is the shared class of boolean and integer constants. This class
@@ -559,7 +559,7 @@ public:
class ConstantExpr : public Constant {
friend struct ConstantCreator<ConstantExpr,Type,
std::pair<unsigned, std::vector<Constant*> > >;
- friend struct ConvertConstantType<ConstantExpr, Type>;
+ friend struct ConvertConstant<ConstantExpr, Type>;
protected:
ConstantExpr(const Type *ty, unsigned Opcode, Use *Ops, unsigned NumOps)