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

via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 22 08:06:45 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 cc44886b7421e6fdd8a5159a37d0fa784fefdc46 -- libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp
``````````

</details>

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

``````````diff
diff --git a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp
index 08b0dcfa33..8df1db054b 100644
--- a/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp
+++ b/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/deduct_F.verify.cpp
@@ -39,7 +39,7 @@ template <class T>
 struct IsFunctionDeducible<T, std::void_t<decltype(std::function(std::declval<T>()))>> : std::true_type {};
 
 struct Deducible {
-    int operator()() const;
+  int operator()() const;
 };
 
 static_assert(IsFunctionDeducible<Deducible>::value);

``````````

</details>


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


More information about the libcxx-commits mailing list