mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Really fix -Wnon-virtual-dtor warnings; gcc needs the dtors to be
explicitly marked as virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
97d9903236
commit
10d8971c00
@ -149,7 +149,7 @@ protected:
|
||||
OwningPtr<Document> &Doc;
|
||||
SMRange SourceRange;
|
||||
|
||||
~Node();
|
||||
virtual ~Node();
|
||||
|
||||
private:
|
||||
unsigned int TypeID;
|
||||
@ -170,7 +170,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
~NullNode();
|
||||
virtual ~NullNode();
|
||||
};
|
||||
|
||||
/// @brief A scalar node is an opaque datum that can be presented as a
|
||||
@ -206,7 +206,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
~ScalarNode();
|
||||
virtual ~ScalarNode();
|
||||
|
||||
private:
|
||||
StringRef Value;
|
||||
@ -256,7 +256,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
~KeyValueNode();
|
||||
virtual ~KeyValueNode();
|
||||
|
||||
private:
|
||||
Node *Key;
|
||||
@ -375,7 +375,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
~MappingNode();
|
||||
virtual ~MappingNode();
|
||||
|
||||
private:
|
||||
MappingType Type;
|
||||
@ -441,7 +441,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
~SequenceNode();
|
||||
virtual ~SequenceNode();
|
||||
|
||||
private:
|
||||
SequenceType SeqType;
|
||||
@ -469,7 +469,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
~AliasNode();
|
||||
virtual ~AliasNode();
|
||||
|
||||
private:
|
||||
StringRef Name;
|
||||
|
Loading…
Reference in New Issue
Block a user