summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/Utils/Cloning.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-12-20 02:50:00 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-12-20 02:50:00 +0000
commita379b181733b7ce77c9f336fd99e208d7c2a6f21 (patch)
tree3bc42509537bcbf114062994536709d63fe9bb92 /llvm/unittests/Transforms/Utils/Cloning.cpp
parent68e081d606c7e80baa01400a738e118d7bb165b2 (diff)
downloadbcm5719-llvm-a379b181733b7ce77c9f336fd99e208d7c2a6f21.tar.gz
bcm5719-llvm-a379b181733b7ce77c9f336fd99e208d7c2a6f21.zip
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146960
Diffstat (limited to 'llvm/unittests/Transforms/Utils/Cloning.cpp')
-rw-r--r--llvm/unittests/Transforms/Utils/Cloning.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/Transforms/Utils/Cloning.cpp b/llvm/unittests/Transforms/Utils/Cloning.cpp
index 1b858695b1d..4243b2d39de 100644
--- a/llvm/unittests/Transforms/Utils/Cloning.cpp
+++ b/llvm/unittests/Transforms/Utils/Cloning.cpp
@@ -17,6 +17,7 @@
using namespace llvm;
+namespace {
class CloneInstruction : public ::testing::Test {
protected:
virtual void SetUp() {
@@ -47,6 +48,7 @@ protected:
LLVMContext context;
Value *V;
};
+}
TEST_F(CloneInstruction, OverflowBits) {
V = new Argument(Type::getInt32Ty(context));
OpenPOWER on IntegriCloud