summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section
diff options
context:
space:
mode:
authorCasey Carter <Casey@Carter.net>2019-10-12 19:01:46 +0000
committerCasey Carter <Casey@Carter.net>2019-10-12 19:01:46 +0000
commite198823b87b20c8dacb1bc950e9c44f1ce46f702 (patch)
tree3bf53ff5b79f82f6130530d044db11913a52b4e2 /lldb/packages/Python/lldbsuite/test/python_api/section
parent3049748e15b76465ad21e1d68c48fc1dcf7def09 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud