aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/SmallVectorTest.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-18 04:54:35 +0000
committerChris Lattner <sabre@nondot.org>2011-07-18 04:54:35 +0000
commit229907cd11658776a6c7451de74b9e16ba637d9c (patch)
tree56a83033fb7b2337bf90a7b23ca87e9a0e8b62f7 /llvm/unittests/ADT/SmallVectorTest.cpp
parent805d09459df33da12c3dc3cf6ab7806baebbe4c8 (diff)
downloadllvm-229907cd11658776a6c7451de74b9e16ba637d9c.zip
llvm-229907cd11658776a6c7451de74b9e16ba637d9c.tar.gz
llvm-229907cd11658776a6c7451de74b9e16ba637d9c.tar.bz2
land David Blaikie's patch to de-constify Type, with a few tweaks.
llvm-svn: 135375
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
-rw-r--r--llvm/unittests/ADT/SmallVectorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/SmallVectorTest.cpp b/llvm/unittests/ADT/SmallVectorTest.cpp
index 0d3535d..d5bfe76 100644
--- a/llvm/unittests/ADT/SmallVectorTest.cpp
+++ b/llvm/unittests/ADT/SmallVectorTest.cpp
@@ -383,7 +383,7 @@ TEST_F(SmallVectorTest, ComparisonTest) {
// Constant vector tests.
TEST_F(SmallVectorTest, ConstVectorTest) {
- const VectorType constVector;
+ VectorType constVector;
EXPECT_EQ(0u, constVector.size());
EXPECT_TRUE(constVector.empty());