diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-07-11 07:56:41 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-07-11 07:56:41 +0000 |
commit | f362affa3a695164a94d275fb44d18f44ebb855a (patch) | |
tree | c07a3ce28c975fcda45c377276692e508f0dc79a /unittests/Support/TypeBuilderTest.cpp | |
parent | 7f0ce349187e6526ed2d92fe7d2757f84f73ce04 (diff) |
De-constify Types in FunctionType::get().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/TypeBuilderTest.cpp')
-rw-r--r-- | unittests/Support/TypeBuilderTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/TypeBuilderTest.cpp b/unittests/Support/TypeBuilderTest.cpp index bd19c651ec..52b51b3875 100644 --- a/unittests/Support/TypeBuilderTest.cpp +++ b/unittests/Support/TypeBuilderTest.cpp @@ -120,7 +120,7 @@ TEST(TypeBuilderTest, Derived) { } TEST(TypeBuilderTest, Functions) { - std::vector<const Type*> params; + std::vector<Type*> params; EXPECT_EQ(FunctionType::get(Type::getVoidTy(getGlobalContext()), params, false), (TypeBuilder<void(), true>::get(getGlobalContext()))); EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), |