commit | 2cacaa77af2cabef92abb957bc70bd2a51ff8750 | [log] [tgz] |
---|---|---|
author | Nico Weber <thakis@chromium.org> | Fri Apr 16 11:40:52 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 13:12:13 2021 -0700 |
tree | 21e97deb690b53fdda57267d456cb92b7608d1ff | |
parent | 315a8f55cee7ea155ab7344e150354b8d604b065 [diff] |
[Support] Don't include <algorithm> in MathExtras.h MathExtras.h is indirectly included in over 98% of LLVM's translation units. It currently expands to over 1MB of stuff, over which far more than half is due to <algorithm>. Since not using <algorithm> is slightly less code, do that. No behavior change. Differential Revision: https://reviews.llvm.org/D100656 GitOrigin-RevId: 6580d8a2b14d50b7e067dc86df6e5dd65703d147