diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-04-10 23:21:26 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-04-10 23:21:26 +0000 |
commit | 51f6fb9a189fc62694d30f54322c9007168e1844 (patch) | |
tree | dd0f31bf243edf397de5999fc34769ebf992b02c /llvm/unittests/Transforms | |
parent | ccd66d259a7e1cc1c56a43459ed6db0d2f024bf3 (diff) | |
download | bcm5719-llvm-51f6fb9a189fc62694d30f54322c9007168e1844.tar.gz bcm5719-llvm-51f6fb9a189fc62694d30f54322c9007168e1844.zip |
Delete the functions F1 and F2 to appease the valgrind bot.
llvm-svn: 179239
Diffstat (limited to 'llvm/unittests/Transforms')
-rw-r--r-- | llvm/unittests/Transforms/Utils/Cloning.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; } } |