This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Fix vector<bool> tests that were using ints copy-pasted from vector<int> tests.
ClosedPublic

Authored by STL_MSFT on Jun 7 2016, 12:19 PM.

Details

Summary

Fix vector<bool> tests that were using ints copy-pasted from vector<int> tests.

I copied the bool a[] 0/1 pattern from another vector<bool> test.

Fixes MSVC warning C4305 "'argument': truncation from 'int' to 'const bool'".

Diff Detail

Event Timeline

STL_MSFT updated this revision to Diff 59929.Jun 7 2016, 12:19 PM
STL_MSFT retitled this revision from to [libcxx] [test] Fix vector<bool> tests that were using ints copy-pasted from vector<int> tests..
STL_MSFT updated this object.
STL_MSFT added reviewers: mclow.lists, EricWF.
STL_MSFT added a subscriber: cfe-commits.
EricWF accepted this revision.Jun 13 2016, 7:58 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Jun 13 2016, 7:58 PM
EricWF closed this revision.Jun 13 2016, 7:59 PM

r272620.