commit | a16cd9df50f22ccf65cf27eddc0403791116c75a | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Wed Sep 04 13:35:03 2019 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Sep 20 02:55:56 2019 +0000 |
tree | 9adb575b38fe3f450e91c613c86630b960b84b9b | |
parent | 4cebe6f1f01a34546b3b843b5267619a61bd7d39 [diff] |
[libc++] Move __clamp_to_integral to <cmath>, and harden against min()/max() macros git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@370900 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 87e6185621d332d2ef8695b94778663380c83bb9) Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=994957 Bug: http://b/139690488 Change-Id: Ice92a8ea6f675be069a70c5ad1003cf99b4fc474 (cherry picked from commit 82e0483c4a47233ed2f7bab545b32e5ddd474e59) (cherry picked from commit 44a8861f2c85a8f46107a541c5d610c1d3b464fe)