aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@nuwen.net>2024-01-29 02:55:35 -0800
committerGitHub <noreply@github.com>2024-01-29 11:55:35 +0100
commitef83894810db8ec72489f1b45bf943938f6b0af4 (patch)
tree37de9a0bdd60365494d3f268556e5bb781025aca /lldb/source/Plugins/ScriptInterpreter/Python
parentc9535d7b61a37d6fa58e51222a9ccecc54431193 (diff)
downloadllvm-ef83894810db8ec72489f1b45bf943938f6b0af4.zip
llvm-ef83894810db8ec72489f1b45bf943938f6b0af4.tar.gz
llvm-ef83894810db8ec72489f1b45bf943938f6b0af4.tar.bz2
[libc++][test] Fix zero-length arrays and copy-pasted lambdas in `ranges.contains.pass.cpp` (#79792)
* Fix MSVC error C2466: cannot allocate an array of constant size 0 + MSVC rejects this non-Standard extension. Previous fixes: #74183 * Fix MSVC warning C4805: `'=='`: unsafe mix of type `'int'` and type `'const bool'` in operation + AFAICT, these lambdas were copy-pasted, and didn't intend to take and return `int` here. This part of the test is using `vector<bool>` for random-access but non-contiguous iterators, and it's checking how many times the projection is invoked, but the projection doesn't need to do anything squirrely, it should otherwise be an identity. * Fix typos: "continuous" => "contiguous".
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions