[llvm-commits] Patch to support projects using C++0x mode

Nick Sumner nick.sumner at gmail.com
Mon Oct 17 12:53:33 PDT 2011


C++0x mode in GCC requires that destructors be accessible by children
in the class hierarchy. This is true even if the destructors in both a
parent and its child are deleted.

The attached patch fixes deleted destructor visibility for Operators
to allow GCC to build LLVM projects that use C++0x mode. It simply
makes deleted parent destructors protected instead of private.

-- 
Nick Sumner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: destructorAccess.diff
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111017/0b143dd5/attachment.bin>


More information about the llvm-commits mailing list