diff options
author | Louis Dionne <ldionne@apple.com> | 2019-09-04 12:48:32 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-09-04 12:48:32 +0000 |
commit | e8316372b91e182ba9c7b4bae3bf2ddeff1065cc (patch) | |
tree | c28b9a17bc512453e327122d081cffd62b6776bd /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py | |
parent | b9e9478244f7bc6dcbce86a16451b5a8ba4d82cd (diff) | |
download | bcm5719-llvm-e8316372b91e182ba9c7b4bae3bf2ddeff1065cc.tar.gz bcm5719-llvm-e8316372b91e182ba9c7b4bae3bf2ddeff1065cc.zip |
[libc++] Add `__truncating_cast` for safely casting float types to integers
This is needed anytime we need to clamp an arbitrary floating point
value to an integer type.
Thanks to Eric Fiselier for the patch.
Differential Revision: https://reviews.llvm.org/D66836
llvm-svn: 370891
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions