aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@nuwen.net>2024-01-29 02:53:05 -0800
committerGitHub <noreply@github.com>2024-01-29 11:53:05 +0100
commitc9535d7b61a37d6fa58e51222a9ccecc54431193 (patch)
tree055b50309de90bde9eac4f7a06066c052e949ce3 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parentba5d92eb9c18a9037dd06a74f90ceba3f4e3ace9 (diff)
downloadllvm-c9535d7b61a37d6fa58e51222a9ccecc54431193.zip
llvm-c9535d7b61a37d6fa58e51222a9ccecc54431193.tar.gz
llvm-c9535d7b61a37d6fa58e51222a9ccecc54431193.tar.bz2
[libc++][test] Silence MSVC warnings (#79791)
* `libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find.pass.cpp` emits a bunch of warnings, all caused by what appears to be intentional code: + Silence MSVC warning C4245: conversion from `'int'` to `'wchar_t'`, signed/unsigned mismatch - Caused by: `test<U>(0, -1);` + Silence MSVC warning C4305: 'argument': truncation from `'int'` to `'bool'` - Caused by: `test<U>(0, -1);` + Silence MSVC warning C4310: cast truncates constant value - Caused by: `test<U>(T(-129), U(-129));` + Silence MSVC warning C4805: `'=='`: unsafe mix of type `'char'` and type `'bool'` in operation - Caused by: `bool expect_match = val == to_find;` * `libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/left_folds.pass.cpp` + Silence MSVC warning C4244: 'argument': conversion from `'double'` to `'const int'`, possible loss of data - Caused by `[](int const x, double const y) { return x + y; }` deliberately being given `double`s to truncate. * `libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.pointer.pass.cpp` + Silence MSVC warnings about C++20 deprecated `volatile`. - Caused by: `runtime_test< volatile T>();`
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions