[MS Demangler] Add virtual destructor.

Silence -Wnon-virtual-dtor.

llvm-svn: 340711
This commit is contained in:
Zachary Turner 2018-08-27 04:04:41 +00:00
parent 0331286373
commit 03b6f5a5ea
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ enum class NodeKind {
struct Node {
explicit Node(NodeKind K) : Kind(K) {}
virtual ~Node() = default;
NodeKind kind() const { return Kind; }