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 7046a9fb05f65f4699a2e88abbcb7dad8a21db2d 
c66becf3c8e1782a7cc3ee5848d259dde6d789d0 --extensions cpp -- 
compiler-rt/lib/ubsan/ubsan_handlers.cpp 
compiler-rt/test/ubsan/TestCases/Misc/builtins.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 cb17f6f3ae..9dbe8e6c0c 100644
--- a/compiler-rt/lib/ubsan/ubsan_handlers.cpp
+++ b/compiler-rt/lib/ubsan/ubsan_handlers.cpp
@@ -635,7 +635,7 @@ static void handleInvalidBuiltin(InvalidBuiltinData *Data, 
ReportOptions Opts) {
 
   Diag(Loc, DL_Error, ET,
        "passing zero to __builtin_%0(), which is not a valid argument")
-    << ((Data->Kind == BCK_CTZPassedZero) ? "ctz" : "clz");
+      << ((Data->Kind == BCK_CTZPassedZero) ? "ctz" : "clz");
 }
 
 void __ubsan::__ubsan_handle_invalid_builtin(InvalidBuiltinData *Data) {

``````````

</details>


https://github.com/llvm/llvm-project/pull/109088
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to