This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Fix nodiscard warnings.
ClosedPublic

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

Details

Summary

[libcxx] [test] Fix nodiscard warnings.

MSVC's STL has marked to_bytes/from_bytes as nodiscard.

Diff Detail

Event Timeline

STL_MSFT created this revision.Apr 12 2018, 3:16 PM
EricWF accepted this revision.Apr 12 2018, 3:32 PM

There's a macro for this in test_macros.h to make it easier to search for. please use that

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

Committed with a follow-up to use the requested macro.