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:
0331286
)
[MS Demangler] Add virtual destructor.
author
Zachary Turner
<zturner@google.com>
Mon, 27 Aug 2018 04:04:41 +0000
(
04:04
+0000)
committer
Zachary Turner
<zturner@google.com>
Mon, 27 Aug 2018 04:04:41 +0000
(
04:04
+0000)
Silence -Wnon-virtual-dtor.
llvm-svn: 340711
llvm/lib/Demangle/MicrosoftDemangleNodes.h
patch
|
blob
|
history
diff --git
a/llvm/lib/Demangle/MicrosoftDemangleNodes.h
b/llvm/lib/Demangle/MicrosoftDemangleNodes.h
index
4fdb059
..
df4679e
100644
(file)
--- a/
llvm/lib/Demangle/MicrosoftDemangleNodes.h
+++ b/
llvm/lib/Demangle/MicrosoftDemangleNodes.h
@@
-324,6
+324,7
@@
enum class NodeKind {
struct Node {
explicit Node(NodeKind K) : Kind(K) {}
+ virtual ~Node() = default;
NodeKind kind() const { return Kind; }