Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline

[NFC][OCaml] Simplify llvm_global_initializer using ptr_to_option

Authored by jberdine on Mar 25 2021, 5:03 PM.



This diff uses ptr_to_option to convert a nullable C pointer to an
OCaml option instead of the redundant implementation in

Diff Detail

Event Timeline

jberdine created this revision.Mar 25 2021, 5:03 PM
jberdine requested review of this revision.Mar 25 2021, 5:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2021, 5:03 PM
vaivaswatha accepted this revision.Mar 25 2021, 7:28 PM
This 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
This revision was automatically updated to reflect the committed changes.