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:
0e8d588
)
Tweak CrashRecoveryContextCleanup::createCleanup() to use the 'delete' cleanup as...
author
Ted Kremenek
<kremenek@apple.com>
Fri, 18 Mar 2011 03:46:21 +0000
(
03:46
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Fri, 18 Mar 2011 03:46:21 +0000
(
03:46
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127865
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CrashRecoveryContext.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CrashRecoveryContext.h
b/include/llvm/Support/CrashRecoveryContext.h
index f76ae3e3d4904397f2fd62ed54b5fc58208034e8..40b5286d901d651ac6433396f35fff4da1169566 100644
(file)
--- a/
include/llvm/Support/CrashRecoveryContext.h
+++ b/
include/llvm/Support/CrashRecoveryContext.h
@@
-132,7
+132,7
@@
public:
template <typename T>
struct CrashRecoveryContextTrait {
static inline CrashRecoveryContextCleanup *createCleanup(T *resource) {
- return new CrashRecoveryContextDe
structor
Cleanup<T>(resource);
+ return new CrashRecoveryContextDe
lete
Cleanup<T>(resource);
}
};