Revert untintentionally commited changes

llvm-svn: 343574
This commit is contained in:
Eric Liu 2018-10-02 10:28:54 +00:00
parent 09c34d77e0
commit b9e17124ea
1 changed files with 3 additions and 3 deletions

View File

@ -79,9 +79,9 @@ class FieldNode {
protected:
const FieldRegion *FR;
// TODO: This destructor shouldn't be virtual, but breaks buildbots with
// -Werror -Wnon-virtual-dtor.
virtual ~FieldNode() = default;
/// FieldNodes are never meant to be created on the heap, see
/// FindUninitializedFields::addFieldToUninits().
/* non-virtual */ ~FieldNode() = default;
public:
FieldNode(const FieldRegion *FR) : FR(FR) {}