diff options
author | Casey Carter <Casey@Carter.net> | 2019-10-12 19:01:46 +0000 |
---|---|---|
committer | Casey Carter <Casey@Carter.net> | 2019-10-12 19:01:46 +0000 |
commit | e198823b87b20c8dacb1bc950e9c44f1ce46f702 (patch) | |
tree | 3bf53ff5b79f82f6130530d044db11913a52b4e2 /lldb/packages/Python/lldbsuite/test/python_api/section | |
parent | 3049748e15b76465ad21e1d68c48fc1dcf7def09 (diff) | |
download | bcm5719-llvm-e198823b87b20c8dacb1bc950e9c44f1ce46f702.tar.gz bcm5719-llvm-e198823b87b20c8dacb1bc950e9c44f1ce46f702.zip |
[libc++][test] Silence MSVC warning in std::optional test
`make_optional<string>(4, 'X')` passes `4` (an `int`) as the first argument to `string`'s `(size_t, charT)` constructor, triggering a signed/unsigned mismatch warning when compiling with MSVC at `/W4`. The incredibly simple fix is to instead use an unsigned literal (`4u`).
llvm-svn: 374684
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section')
0 files changed, 0 insertions, 0 deletions