This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Avoid MSVC's non-Standard ABI in underlying_type.pass.cpp.
ClosedPublic

Authored by STL_MSFT on Jan 25 2017, 10:39 AM.

Details

Summary

[libcxx] [test] Avoid MSVC's non-Standard ABI in underlying_type.pass.cpp.

When compiled with Clang for Windows, this was emitting "enumerator value
evaluates to 4294967295, which cannot be narrowed to type 'int' [-Wc++11-narrowing]".

The test should more strenuously avoid poking this ABI deficiency (and it
already has coverage for explicitly specified underlying types).

Diff Detail

Event Timeline

STL_MSFT created this revision.Jan 25 2017, 10:39 AM
EricWF accepted this revision.Feb 4 2017, 2:57 PM
This revision is now accepted and ready to land.Feb 4 2017, 2:57 PM
STL_MSFT closed this revision.Feb 5 2017, 3:05 PM