[libcxx-commits] [libcxx] [libc++][mdspan] Fix extents CTAD (PR #68737)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 10 12:17:56 PDT 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 135f57d179977136f920f8c975bb4b6ca056ec66 eda9969260ad8b47afcbd026ef554769b52eea69 -- libcxx/include/__mdspan/extents.h libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp b/libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
index fed16b3fc..e96c8e10c 100644
--- a/libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
+++ b/libcxx/test/std/containers/views/mdspan/extents/ctad.pass.cpp
@@ -23,7 +23,7 @@
struct S {
size_t value;
- constexpr S(size_t val):value(val) {};
+ constexpr S(size_t val) : value(val){};
constexpr operator size_t() const noexcept { return value; }
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/68737
More information about the libcxx-commits
mailing list