This is an archive of the discontinued LLVM Phabricator instance.

OpChain has subclasses, so add a virtual destructor.
ClosedPublic

Authored by rupprecht on Jul 23 2018, 10:33 AM.

Details

Summary

OpChain has subclasses, so add a virtual destructor.

This fixes an issue when deleting subclasses of OpChain (see MatchSMLAD() specifically) in r337701.

Diff Detail

Repository
rL LLVM

Event Timeline

rupprecht created this revision.Jul 23 2018, 10:33 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 23 2018, 10:38 AM
This revision was automatically updated to reflect the committed changes.