[libcxx-commits] [libcxx] edbaa7f - [libc++] span: Cleanup includes
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 11 02:17:41 PST 2020
Author: Louis Dionne
Date: 2020-02-11T11:17:30+01:00
New Revision: edbaa7fc046782b533d159bc5d31dd306ffaf779
URL: https://github.com/llvm/llvm-project/commit/edbaa7fc046782b533d159bc5d31dd306ffaf779
DIFF: https://github.com/llvm/llvm-project/commit/edbaa7fc046782b533d159bc5d31dd306ffaf779.diff
LOG: [libc++] span: Cleanup includes
Thanks to Michael Schellenberger Costa for the patch.
Differential Revision: https://reviews.llvm.org/D72036
Added:
Modified:
libcxx/include/span
Removed:
################################################################################
diff --git a/libcxx/include/span b/libcxx/include/span
index 5d5a701f7548..119cf39baba9 100644
--- a/libcxx/include/span
+++ b/libcxx/include/span
@@ -129,11 +129,10 @@ template<class Container>
*/
#include <__config>
-#include <cstddef> // for ptr
diff _t
-#include <iterator> // for iterators
#include <array> // for array
-#include <type_traits> // for remove_cv, etc
#include <cstddef> // for byte
+#include <iterator> // for iterators
+#include <type_traits> // for remove_cv, etc
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
More information about the libcxx-commits
mailing list