[llvm] r225754 - Disable a warning for self move since the test is checking for this behavior.

David Blaikie dblaikie at gmail.com
Tue Jan 13 13:51:26 PST 2015


On Tue, Jan 13, 2015 at 1:45 PM, Chandler Carruth <chandlerc at google.com>
wrote:

>
> On Mon, Jan 12, 2015 at 6:10 PM, Richard Trieu <rtrieu at google.com> wrote:
>
>> +// Disable the warning that triggers on exactly what is being tested.
>> +#pragma clang diagnostic push
>> +#pragma clang diagnostic ignored "-Wself-move"
>>
>
> Old clang's warn on this:
> APIntTest.cpp:684:34: error: unknown warning group '-Wself-move', ignored
> [-Werror,-Wunknown-pragmas]
>
> I think we should change this pragma warning to not fire when an unknown
> warning group is *ignored*, and only fire when an unknown warning group is
> *requested*. Would that make sense?
>

Sonuds reasonable to me, though should we change the command line behavior
to match (-Wno-foobar warns with clang, but doesn't warn (except when
producing other errors?) with GCC)?


>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/54898af4/attachment.html>


More information about the llvm-commits mailing list