[llvm-commits] [PATCH] Add trivial virtual dtor to MCObjectFormat

Matt Beaumont-Gay matthewbg at google.com
Mon Oct 18 15:51:11 PDT 2010


LLVM currently fails to build with g++ -Wall -Werror:
include/llvm/MC/MCObjectFormat.h:16: error: 'class
llvm::MCObjectFormat' has virtual functions and accessible non-virtual
destructor [-Wnon-virtual-dtor]

Attached patch fixes this.

-Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_mc_compile.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101018/b00676bc/attachment.bin>


More information about the llvm-commits mailing list