From: Joey Gouly Date: Wed, 10 Apr 2013 23:21:26 +0000 (+0000) Subject: Delete the functions F1 and F2 to appease the valgrind bot. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=bb5cbd86a4add5944c869836c507d419255d98dc;p=oota-llvm.git Delete the functions F1 and F2 to appease the valgrind bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179239 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Transforms/Utils/Cloning.cpp b/unittests/Transforms/Utils/Cloning.cpp index 5930d5ef98d..e19ae5bc2fb 100644 --- a/unittests/Transforms/Utils/Cloning.cpp +++ b/unittests/Transforms/Utils/Cloning.cpp @@ -168,6 +168,9 @@ TEST_F(CloneInstruction, Attributes) { CloneFunctionInto(F2, F1, VMap, false, Returns); EXPECT_FALSE(F2->arg_begin()->hasNoCaptureAttr()); + + delete F1; + delete F2; } }