projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0d38df
)
EHScopeStack::Cleanup has virtual functions so the destructor should be too.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Mon, 2 Mar 2020 13:26:39 +0000
(13:26 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Mon, 2 Mar 2020 15:06:34 +0000
(15:06 +0000)
Fixes cppcheck warning.
clang/lib/CodeGen/EHScopeStack.h
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/EHScopeStack.h
b/clang/lib/CodeGen/EHScopeStack.h
index
0ed67aa
..
4dd3da3
100644
(file)
--- a/
clang/lib/CodeGen/EHScopeStack.h
+++ b/
clang/lib/CodeGen/EHScopeStack.h
@@
-148,7
+148,7
@@
public:
virtual void anchor();
protected:
- ~Cleanup() = default;
+
virtual
~Cleanup() = default;
public:
Cleanup(const Cleanup &) = default;