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 | bb5cbd86a4add5944c869836c507d419255d98dc (patch) | |
tree | f12e1af94dda68e0c1464ecb4fc06ea732ec31c2 | |
parent | 9af7014019c971368d541870b108aef1f12a24ba (diff) | |
download | external_llvm-bb5cbd86a4add5944c869836c507d419255d98dc.zip external_llvm-bb5cbd86a4add5944c869836c507d419255d98dc.tar.gz external_llvm-bb5cbd86a4add5944c869836c507d419255d98dc.tar.bz2 |
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
-rw-r--r-- | unittests/Transforms/Utils/Cloning.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; } } |