[PATCH] D21092: [libcxx] [test] Fix vector<bool> tests that were using ints copy-pasted from vector<int> tests.
Stephan T. Lavavej via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 7 12:19:56 PDT 2016
STL_MSFT created this revision.
STL_MSFT added reviewers: mclow.lists, EricWF.
STL_MSFT added a subscriber: cfe-commits.
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'".
http://reviews.llvm.org/D21092
Files:
test/std/containers/sequences/vector.bool/assign_copy.pass.cpp
test/std/containers/sequences/vector.bool/construct_size_value.pass.cpp
test/std/containers/sequences/vector.bool/construct_size_value_alloc.pass.cpp
test/std/containers/sequences/vector.bool/copy.pass.cpp
test/std/containers/sequences/vector.bool/copy_alloc.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21092.59929.patch
Type: text/x-patch
Size: 6095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160607/06166b04/attachment-0001.bin>
More information about the cfe-commits
mailing list