[compiler-rt] [llvm] [ubsan] Remove UBSAN_CAN_USE_CXXABI (PR #121082)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 20:08:41 PST 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 cd66c9b6a04689659348c0a3ff4c1205b1133fe9 4979f2fd952745643b1cc6fd71578b2cacd963bf --extensions cpp -- compiler-rt/lib/ubsan/ubsan_handlers.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/ubsan/ubsan_handlers.cpp b/compiler-rt/lib/ubsan/ubsan_handlers.cpp
index ace910444d..ee9e3ccd0b 100644
--- a/compiler-rt/lib/ubsan/ubsan_handlers.cpp
+++ b/compiler-rt/lib/ubsan/ubsan_handlers.cpp
@@ -911,7 +911,7 @@ WIN_WEAK_ALIAS(__ubsan_handle_cfi_bad_type, __ubsan_handle_cfi_bad_type_default)
 #endif
 SANITIZER_WEAK_ATTRIBUTE
 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
-                                 bool ValidVtable, ReportOptions Opts){
+                                 bool ValidVtable, ReportOptions Opts) {
   Die();
 }
 

``````````

</details>


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


More information about the llvm-commits mailing list