commit | c2ca4c16d1e26b4a628cf7f3a21ef90daef9116f | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Wed Sep 04 13:35:03 2019 +0000 |
committer | Dan Albert <danalbert@google.com> | Fri Sep 13 14:44:21 2019 -0700 |
tree | 144880022b3244e1fd3031e7804bbf65b85bf07a | |
parent | 66ddc699d1ffc37f4ced50af186b480dbc88d44e [diff] |
DO NOT MERGE: [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)