commit | 228614bbd0171b696c58114a86f242d33b4a8e0f | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Wed Sep 04 13:35:03 2019 +0000 |
committer | Max Spector <mspector@google.com> | Wed Sep 18 17:13:27 2019 -0700 |
tree | 13cc95ec9befb5039c558755ff3f9b82cc63deec | |
parent | a45e84a8cff0cc2391e7ac175cd9d90abc9fe1ec [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) (cherry picked from commit 280d459517680a16b34e0bd7843e2ac56ee3ea4d)