[PATCH] D52205: [OCaml] Add OCaml API for LLVMIsCleanup

whitequark via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 18:34:16 PDT 2018


whitequark added inline comments.


================
Comment at: bindings/ocaml/llvm/llvm.mli:2092
 
+(** [is_cleanup lp] returns 'true' if [landingpad] instruction lp is a cleanup.
+    See the method [llvm::LandingPadInst::isCleanup]. *)
----------------
Tiny nit: using `[true]` here would be more idiomatic.


Repository:
  rL LLVM

https://reviews.llvm.org/D52205





More information about the llvm-commits mailing list