forked from OSchip/llvm-project
[MS Demangler] Add virtual destructor.
Silence -Wnon-virtual-dtor. llvm-svn: 340711
This commit is contained in:
parent
0331286373
commit
03b6f5a5ea
|
@ -324,6 +324,7 @@ enum class NodeKind {
|
|||
|
||||
struct Node {
|
||||
explicit Node(NodeKind K) : Kind(K) {}
|
||||
virtual ~Node() = default;
|
||||
|
||||
NodeKind kind() const { return Kind; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue