This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Tolerate [[nodiscard]] on STL functions in libcxx tests
ClosedPublic

Authored by BillyONeal on Oct 17 2017, 7:21 PM.

Details

Summary

I applied [[nodiscard]] to lots of things in MSVC++'s STL, which trips up some tests in libcxx. This change adds (void) casts or assertions as necessary to make [[nodiscard]] happy.

Diff Detail

Repository
rL LLVM

Event Timeline

BillyONeal created this revision.Oct 17 2017, 7:21 PM
EricWF accepted this revision.Oct 17 2017, 7:30 PM
This revision is now accepted and ready to land.Oct 17 2017, 7:30 PM
BillyONeal closed this revision.Nov 14 2017, 11:46 PM