[libcxx] r216317 - Add return statement to a test class's assignment operator. Defect found by Coverity Scan.

Chandler Carruth chandlerc at google.com
Sat Aug 23 18:04:20 PDT 2014


On Sat, Aug 23, 2014 at 6:01 PM, Jonathan Roelofs <jonathan at codesourcery.com
> wrote:

> Wait a second, this test is *supposed* to be a compile failure, but not
> for the reason I originally thought. It's testing that unique_ptr requires
> the deleter have a public default constructor.  Because it fails to
> compile, '-Wall -Wextra -pedantic -Werror' won't help us here :(
>

Hah.

I don't think we should spend our time fixing warnings (coverity or
otherwise) is code that is supposed to produce compile errors... seems a
waste.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140823/4e612471/attachment.html>


More information about the cfe-commits mailing list