From bb5cbd86a4add5944c869836c507d419255d98dc Mon Sep 17 00:00:00 2001 From: Joey Gouly Date: Wed, 10 Apr 2013 23:21:26 +0000 Subject: 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 --- unittests/Transforms/Utils/Cloning.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unittests/Transforms') diff --git a/unittests/Transforms/Utils/Cloning.cpp b/unittests/Transforms/Utils/Cloning.cpp index 5930d5e..e19ae5b 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; } } -- cgit v1.1