[llvm] [OCaml] Build OCaml bindings using Dune (PR #67272)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 24 13:45:18 PDT 2023
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 62ffbe0dcca9f394f9dbfda160e0f0a1e96948ae 57ac358869d1e4db7e8b6117e62c28cdb02b117b -- llvm/bindings/ocaml/llvm/llvm_ocaml.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/bindings/ocaml/llvm/llvm_ocaml.c b/llvm/bindings/ocaml/llvm/llvm_ocaml.c
index b83db58d9d3d..5829cf6902ba 100644
--- a/llvm/bindings/ocaml/llvm/llvm_ocaml.c
+++ b/llvm/bindings/ocaml/llvm/llvm_ocaml.c
@@ -180,7 +180,7 @@ static value alloc_variant(int tag, value Value) {
/*===-- Context error handling --------------------------------------------===*/
static void llvm_diagnostic_handler_trampoline(LLVMDiagnosticInfoRef DI,
- void *DiagnosticContext) {
+ void *DiagnosticContext) {
caml_callback(*((value *)DiagnosticContext), to_val(DI));
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/67272
More information about the llvm-commits
mailing list