[llvm] 853da59 - Revert "[Support] Don't include <algorithm> in Hashing.h"
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 16 09:19:09 PDT 2021
Author: Michael Liao
Date: 2021-04-16T12:17:42-04:00
New Revision: 853da5977e74e6d4412397db341f6c4e8cadb895
URL: https://github.com/llvm/llvm-project/commit/853da5977e74e6d4412397db341f6c4e8cadb895
DIFF: https://github.com/llvm/llvm-project/commit/853da5977e74e6d4412397db341f6c4e8cadb895.diff
LOG: Revert "[Support] Don't include <algorithm> in Hashing.h"
This reverts commit ef620c40f371e7e3269bd8bef57d069330baa355.
- `std::rotate` still needs <alogirthm>
Added:
Modified:
llvm/include/llvm/ADT/Hashing.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/Hashing.h b/llvm/include/llvm/ADT/Hashing.h
index d29d1a4e27ee3..e296c1c53ebd1 100644
--- a/llvm/include/llvm/ADT/Hashing.h
+++ b/llvm/include/llvm/ADT/Hashing.h
@@ -48,6 +48,7 @@
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SwapByteOrder.h"
#include "llvm/Support/type_traits.h"
+#include <algorithm>
#include <cassert>
#include <cstring>
#include <string>
More information about the llvm-commits
mailing list