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

Chandler Carruth chandlerc at google.com
Tue Jan 13 13:45:31 PST 2015

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/d96c379a/attachment.html>

More information about the llvm-commits mailing list