[libcxx-commits] [libcxx] [libcxxabi] [llvm] [libc++] Update to Clang 21 as the oldest supported version (PR #186062)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 20 01:26:37 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 cpp,h -- libcxx/include/__configuration/compiler.h libcxx/test/std/atomics/atomics.types.generic/cas_non_power_of_2.pass.cpp libcxxabi/src/cxa_default_handlers.cpp --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/libcxxabi/src/cxa_default_handlers.cpp b/libcxxabi/src/cxa_default_handlers.cpp
index 092e66692..e16d865bb 100644
--- a/libcxxabi/src/cxa_default_handlers.cpp
+++ b/libcxxabi/src/cxa_default_handlers.cpp
@@ -81,8 +81,8 @@ static void demangling_terminate_handler()
__attribute__((noreturn))
static void demangling_terminate_handler()
{
- (void)cause;
- __abort_message("terminating");
+ (void)cause;
+ __abort_message("terminating");
}
#endif // !_LIBCXXABI_NO_EXCEPTIONS
``````````
</details>
https://github.com/llvm/llvm-project/pull/186062
More information about the libcxx-commits
mailing list