[flang-commits] [libcxx] [llvm] [flang] [clang-tools-extra] [clang] [libc] [mlir] [libc++][memory] P1132R8: out_ptr - a scalable output pointer abstraction (PR #73618)
via flang-commits
flang-commits at lists.llvm.org
Sat Dec 16 13:24:41 PST 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 93b14c3df17500e675f31674165b5378dd0b4eaf d7c04396da8d0c6b2270643a3a079e5cd95e887a -- libcxx/include/__memory/inout_ptr.h libcxx/include/__memory/out_ptr.h libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr.general.pass.cpp libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr.verify.cpp libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr_t.convert.pass.cpp libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr_t.ctor.pass.cpp libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr_t.verify.cpp libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr.general.pass.cpp libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr.verify.cpp libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr_t.convert.pass.cpp libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr_t.ctor.pass.cpp libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr_t.verify.cpp libcxx/test/std/utilities/smartptr/adapt/types.h libcxx/include/__memory/allocator_traits.h libcxx/include/__memory/pointer_traits.h libcxx/include/memory libcxx/include/version libcxx/modules/std/memory.inc libcxx/test/std/language.support/support.limits/support.limits.general/memory.version.compile.pass.cpp libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr_t.ctor.pass.cpp b/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr_t.ctor.pass.cpp
index 0ec834cc2f..474ab3c162 100644
--- a/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr_t.ctor.pass.cpp
+++ b/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr_t.ctor.pass.cpp
@@ -29,7 +29,7 @@ int main(int, char**) {
static_assert(!test_convertible<std::out_ptr_t<std::unique_ptr<int>, int*>>(), "This constructor must be explicit");
}
-
+
{
std::unique_ptr<int, std::default_delete<int>> uPtr;
``````````
</details>
https://github.com/llvm/llvm-project/pull/73618
More information about the flang-commits
mailing list