summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-08-20 19:28:26 +0000
committerLouis Dionne <ldionne@apple.com>2019-08-20 19:28:26 +0000
commitc310e5a7ab6c7606f2c9ef0d7b0efae8a5568efe (patch)
tree2ea517a73c5d691c580e994c19659a65b9a4b491 /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
parentbc2f425377085133aeeac3ce31c4532138301c23 (diff)
downloadbcm5719-llvm-c310e5a7ab6c7606f2c9ef0d7b0efae8a5568efe.tar.gz
bcm5719-llvm-c310e5a7ab6c7606f2c9ef0d7b0efae8a5568efe.zip
[libc++] Avoid implicit conversion warning in a <random> test
By stashing the computation of `E::max() - E::min()` in a variable, we avoid the warning introduced in r367497. Note that we use `auto` to avoid having to deduce the type of the computation, which is not a problem since Clang provides `auto` as an extension even in C++03 (and we disable warnings related to using C++11 extensions in the test suite). llvm-svn: 369429
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud