[llvm-branch-commits] [libcxx] [libcxx] Include __fwd/span.h in <mdspan> (PR #142925)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jun 7 12:57:35 PDT 2025


https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/142925

>From 357a155d005c20fc10206d046c9b7c010626d9e3 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Thu, 5 Jun 2025 08:42:55 +0000
Subject: [PATCH] formatting

Created using spr 1.3.4
---
 libcxx/include/mdspan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcxx/include/mdspan b/libcxx/include/mdspan
index 06d2fb6fcd026..32468a128dc9a 100644
--- a/libcxx/include/mdspan
+++ b/libcxx/include/mdspan
@@ -450,8 +450,8 @@ namespace std {
 #  include <__config>
 
 #  if _LIBCPP_STD_VER >= 23
-#    include <__fwd/span.h>
 #    include <__fwd/mdspan.h>
+#    include <__fwd/span.h>
 #    include <__mdspan/default_accessor.h>
 #    include <__mdspan/extents.h>
 #    include <__mdspan/layout_left.h>



More information about the llvm-branch-commits mailing list