diff options
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2018-11-14 23:23:46 +0000 |
---|---|---|
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2018-11-14 23:23:46 +0000 |
commit | 21981194eb8a5faed0d5fac6b8281a69ad2acb71 (patch) | |
tree | caac84e495f10a2238d4d43bad2c0805fd26d77a /lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/TestStepScripted.py | |
parent | 6b7d6fe079af574a0d6d52fa8594b6a9258c6db8 (diff) | |
download | bcm5719-llvm-21981194eb8a5faed0d5fac6b8281a69ad2acb71.tar.gz bcm5719-llvm-21981194eb8a5faed0d5fac6b8281a69ad2acb71.zip |
[libcxx] [test] Fix MSVC warning C4800.
This was implicitly converting [1, 3] to bool, which triggers
an MSVC warning. The test should just pass `true`, which is
simpler, has the same behavior, and avoids the warning. (This
is a library test, not a compiler test, and the conversion happens
before calling `push_back`, so passing [1, 3] isn't interesting
in any way. This resembles a previous change to stop passing
`1 == 1` in the `vector<bool>` tests.)
llvm-svn: 346910
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/step_scripted/TestStepScripted.py')
0 files changed, 0 insertions, 0 deletions