[llvm] da62725 - [ADT] Don't include <algorithm> in iterator.h
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 16 09:21:15 PDT 2021
Author: Nico Weber
Date: 2021-04-16T12:21:08-04:00
New Revision: da627258742ae638b813d0341f069d5b4a6bd9ae
URL: https://github.com/llvm/llvm-project/commit/da627258742ae638b813d0341f069d5b4a6bd9ae
DIFF: https://github.com/llvm/llvm-project/commit/da627258742ae638b813d0341f069d5b4a6bd9ae.diff
LOG: [ADT] Don't include <algorithm> in iterator.h
As far as I can tell, nothing in iterator.h uses anything from <algorithm>.
Differential Revision: https://reviews.llvm.org/D100659
Added:
Modified:
llvm/include/llvm/ADT/iterator.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/iterator.h b/llvm/include/llvm/ADT/iterator.h
index 5b304dfe8b2f5..7f54290d8f0b9 100644
--- a/llvm/include/llvm/ADT/iterator.h
+++ b/llvm/include/llvm/ADT/iterator.h
@@ -10,7 +10,6 @@
#define LLVM_ADT_ITERATOR_H
#include "llvm/ADT/iterator_range.h"
-#include <algorithm>
#include <cstddef>
#include <iterator>
#include <type_traits>
More information about the llvm-commits
mailing list