[libcxx-commits] [libcxx] [libc++][test] Close LWG3018 and add tests (PR #93047)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 26 04:27:39 PDT 2024


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 7d9634e527fe52bf20a9036be6e5771f8fc4de17 8fb8cc6236ad0ffed94b60f855c2610cffe918dd -- libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
index 0f4aa0f5c0..8aa794dc28 100644
--- a/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
+++ b/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
@@ -143,6 +143,6 @@ int main(int, char**)
     }
 #endif // TEST_STD_VER >= 11
 
-  test_function_type();
-  return 0;
+    test_function_type();
+    return 0;
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/93047


More information about the libcxx-commits mailing list