This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Silence MSVC warning C4146.
ClosedPublic

Authored by STL_MSFT on Apr 12 2018, 3:15 PM.

Details

Summary

[libcxx] [test] Silence MSVC warning C4146.

This test code triggers the MSVC warning:

"unary minus operator applied to unsigned type, result still unsigned"

Although it would be possible to change the test code to avoid
this warning, I have chosen to simply silence it.

Diff Detail

Event Timeline

STL_MSFT created this revision.Apr 12 2018, 3:15 PM
EricWF accepted this revision.Apr 12 2018, 3:35 PM

This would have been fine for post-commit review.

This revision is now accepted and ready to land.Apr 12 2018, 3:35 PM
STL_MSFT closed this revision.Apr 12 2018, 5:07 PM

Committed, with a follow-up to use the C1XX macro.