From 51f6fb9a189fc62694d30f54322c9007168e1844 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. llvm-svn: 179239 --- llvm/unittests/Transforms/Utils/Cloning.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/unittests/Transforms') diff --git a/llvm/unittests/Transforms/Utils/Cloning.cpp b/llvm/unittests/Transforms/Utils/Cloning.cpp index 5930d5ef98d..e19ae5bc2fb 100644 --- a/llvm/unittests/Transforms/Utils/Cloning.cpp +++ b/llvm/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.2.3