summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2021-11-19 09:55:45 -0500
committerLouis Dionne <ldionne.2@gmail.com>2021-11-19 14:22:26 -0500
commit1b4c0cb3918a9f2d12f8259407fc8bce053e78bf (patch)
tree4e2c8202a06f6355c9b385a85acf52f6c136e890 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentbd22554af06e1f16dc9ff12eac8987f0ceebe8c1 (diff)
[libc++] Avoid potential truncation warnings in std::abs test
One some platforms, -Wimplicit-int-conversion is enabled by default, which can lead to additional warnings being triggered in this test. Since we're only trying to test errors related to calling abs(), the assignment is superfluous. As a fly-by fix, correct one instance of ::abs to std::abs and made the test a .verify.cpp test instead. Differential Revision: https://reviews.llvm.org/D114244
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions