[libcxx-commits] [libcxx] [libc++] Simplify the implementation of std::invoke (PR #213623)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 3 01:55:40 PDT 2026
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 origin/main HEAD --extensions h -- libcxx/include/__configuration/namespace.h libcxx/include/__type_traits/invoke.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__configuration/namespace.h b/libcxx/include/__configuration/namespace.h
index 9368c45d7..0e77929f9 100644
--- a/libcxx/include/__configuration/namespace.h
+++ b/libcxx/include/__configuration/namespace.h
@@ -34,7 +34,7 @@
_LIBCPP_GCC_DIAGNOSTIC_IGNORED("-Wc++17-extensions") \
_LIBCPP_GCC_DIAGNOSTIC_IGNORED("-Wc++20-extensions") \
_LIBCPP_GCC_DIAGNOSTIC_IGNORED("-Wc++23-extensions")
- _LIBCPP_GCC_DIAGNOSTIC_IGNORED("-Wc++26-extensions")
+_LIBCPP_GCC_DIAGNOSTIC_IGNORED("-Wc++26-extensions")
# define _LIBCPP_POP_EXTENSION_DIAGNOSTICS _LIBCPP_DIAGNOSTIC_POP
# define _LIBCPP_PUSH_ABI_PRAGMA_DIAGNOSTICS \
_LIBCPP_DIAGNOSTIC_PUSH _LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wpragma-clang-attribute") \
``````````
</details>
https://github.com/llvm/llvm-project/pull/213623
More information about the libcxx-commits
mailing list