[llvm] r225754 - Disable a warning for self move since the test is checking for this behavior.
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>
> 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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits