This diff uses ptr_to_option to convert a nullable C pointer to an
OCaml option instead of the redundant implementation in
llvm_global_initializer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D99391
[NFC][OCaml] Simplify llvm_global_initializer using ptr_to_option ClosedPublic Authored by jberdine on Mar 25 2021, 5:03 PM.
Details Summary This diff uses ptr_to_option to convert a nullable C pointer to an
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 25 2021, 7:28 PM This revision was landed with ongoing or failed builds.Mar 26 2021, 5:01 AM Closed by commit rGb06c669114e2: [NFC][OCaml] Simplify llvm_global_initializer using ptr_to_option (authored by jberdine). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 333466 llvm/bindings/ocaml/llvm/llvm_ocaml.c
|
clang-tidy: error: 'caml/memory.h' file not found [clang-diagnostic-error]
not useful