diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-02-15 20:18:08 +0300 |
---|---|---|
committer | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-02-16 06:12:22 +0300 |
commit | 2e2f3158c604adb8401a2a44a03f58d4b6f1c7f9 (patch) | |
tree | 6d1e9872671a6f0177b6cc5dbd1fb5c122382e17 /libcxxabi | |
parent | 125abb61f7ae52f9dbf4b82d5f90b70ef107fb62 (diff) |
[libc++] Granularize algorithm includes
Reviewed By: Mordante, ldionne, Quuxplusone, #libc, #libc_abi
Spies: #libc_vendors, libcxx-commits, miyuki
Differential Revision: https://reviews.llvm.org/D119667
Diffstat (limited to 'libcxxabi')
-rw-r--r-- | libcxxabi/src/demangle/Utility.h | 1 | ||||
-rw-r--r-- | libcxxabi/test/test_demangle.pass.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libcxxabi/src/demangle/Utility.h b/libcxxabi/src/demangle/Utility.h index 97272ae64fb7..4ec821cf6da9 100644 --- a/libcxxabi/src/demangle/Utility.h +++ b/libcxxabi/src/demangle/Utility.h @@ -17,6 +17,7 @@ #define DEMANGLE_UTILITY_H #include "StringView.h" +#include <algorithm> #include <array> #include <cstdint> #include <cstdlib> diff --git a/libcxxabi/test/test_demangle.pass.cpp b/libcxxabi/test/test_demangle.pass.cpp index 5371f4bfc991..cc9e4ac263e2 100644 --- a/libcxxabi/test/test_demangle.pass.cpp +++ b/libcxxabi/test/test_demangle.pass.cpp @@ -15,6 +15,7 @@ // UNSUPPORTED: use_system_cxx_lib && target={{.+}}-apple-macosx11.0 #include "support/timer.h" +#include <algorithm> #include <cassert> #include <cstdio> #include <cstdlib> |