[PATCH] D100659: [ADT] Don't include <algorithm> in iterator.h
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 16 09:12:43 PDT 2021
thakis created this revision.
thakis added a reviewer: hans.
Herald added a subscriber: dexonsmith.
thakis requested review of this revision.
Herald added a project: LLVM.
As far as I can tell, nothing in iterator.h uses anything from <algorithm>.
https://reviews.llvm.org/D100659
Files:
llvm/include/llvm/ADT/iterator.h
Index: llvm/include/llvm/ADT/iterator.h
===================================================================
--- llvm/include/llvm/ADT/iterator.h
+++ 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100659.338146.patch
Type: text/x-patch
Size: 356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210416/3f34e87c/attachment.bin>
More information about the llvm-commits
mailing list