[polly] #include <algorithm>
authorArthur Eubanks <aeubanks@google.com>
Tue, 21 Jun 2022 20:26:40 +0000 (13:26 -0700)
committerArthur Eubanks <aeubanks@google.com>
Tue, 21 Jun 2022 20:27:55 +0000 (13:27 -0700)
For the usage of std::max in the header.

Speculative fix for
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8810806780048763729/overview
reported in https://reviews.llvm.org/D125263.

polly/include/polly/Support/ISLTools.h

index 0aa7664..f7bc294 100644 (file)
@@ -17,6 +17,7 @@
 #include "llvm/ADT/Sequence.h"
 #include "llvm/ADT/iterator.h"
 #include "isl/isl-noexceptions.h"
+#include <algorithm>
 #include <cassert>
 
 /// In debug builds assert that the @p Size is valid, in non-debug builds