diff options
author | Derek Schuff <dschuff@chromium.org> | 2017-09-12 13:46:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 13:46:53 -0700 |
commit | 40f52f2ca41822e9dc47ff57239cdf299f7e1ce5 (patch) | |
tree | 2c3b399aab435f4368e0890ed0581f63ab28c8a8 /src/ast/LocalGraph.cpp | |
parent | 6977feb0f371c31f35ab8b1304c97dc3ac155d92 (diff) | |
download | binaryen-40f52f2ca41822e9dc47ff57239cdf299f7e1ce5.tar.gz binaryen-40f52f2ca41822e9dc47ff57239cdf299f7e1ce5.tar.bz2 binaryen-40f52f2ca41822e9dc47ff57239cdf299f7e1ce5.zip |
Make several derived classes final (#1180)
Recent versions of clang turn on -Wdelete-non-virtual-dtor at our warning
level, which fires when deleting a non-final class that has virtual functions
but a non-virtual destructor. Pre-C++11 standard rule of thumb is to just always
have a virtual destructor if there are virtual functions, but C++11 final is
even better since it may allow for devirtualization optimizations.
Diffstat (limited to 'src/ast/LocalGraph.cpp')
0 files changed, 0 insertions, 0 deletions