projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af7014
)
Delete the functions F1 and F2 to appease the valgrind bot.
author
Joey Gouly
<joey.gouly@arm.com>
Wed, 10 Apr 2013 23:21:26 +0000
(23:21 +0000)
committer
Joey Gouly
<joey.gouly@arm.com>
Wed, 10 Apr 2013 23:21:26 +0000
(23:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179239
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Transforms/Utils/Cloning.cpp
patch
|
blob
|
history
diff --git
a/unittests/Transforms/Utils/Cloning.cpp
b/unittests/Transforms/Utils/Cloning.cpp
index 5930d5ef98de6713a57ad5af295bb83616632f78..e19ae5bc2fb4be6d6eb9f274189e935aa8b5d3f6 100644
(file)
--- 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;
}
}