[libcxx-commits] [libcxx] [libc++] Remove experimental pmr headers now shipped in mainline (PR #73172)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 22 13:35:42 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 575c9bf940e584d4928272ce8a87fe71cca50840 119ccaf2ac34fc765eb00b35dbc30b78802f5855 -- libcxx/src/experimental/keep.cpp libcxx/include/__std_clang_module libcxx/include/experimental/__config libcxx/test/support/uses_alloc_types.h
``````````

</details>

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

``````````diff
diff --git a/libcxx/test/support/uses_alloc_types.h b/libcxx/test/support/uses_alloc_types.h
index 8c94e9370e..8ed0b4de6d 100644
--- a/libcxx/test/support/uses_alloc_types.h
+++ b/libcxx/test/support/uses_alloc_types.h
@@ -164,16 +164,16 @@ struct UsesAllocatorTestBaseStorage<Alloc, false> {
 template <class Self, class Alloc>
 struct UsesAllocatorTestBase {
 public:
-    using CtorAlloc = Alloc;
-
-    template <class ...ArgTypes>
-    bool checkConstruct(UsesAllocatorType expectType) const {
-        auto expectArgs = &makeArgumentID<ArgTypes...>();
-        if (expectType != constructor_called)
-            return false;
-        if (args_id != expectArgs)
-            return false;
-        return true;
+  using CtorAlloc = Alloc;
+
+  template <class... ArgTypes>
+  bool checkConstruct(UsesAllocatorType expectType) const {
+    auto expectArgs = &makeArgumentID<ArgTypes...>();
+    if (expectType != constructor_called)
+      return false;
+    if (args_id != expectArgs)
+      return false;
+    return true;
     }
 
     template <class ...ArgTypes>

``````````

</details>


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


More information about the libcxx-commits mailing list