[PATCH] D52214: [NFC][OCaml] Fix implicit declaration compilation warnings
Josh Berdine via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 17 18:26:14 PDT 2018
jberdine created this revision.
jberdine added a reviewer: whitequark.
Herald added a subscriber: llvm-commits.
2dd4f35c7fc75639920ebc473a4a57ea91864c10 moved LLVMAddLowerSwitchPass
and LLVMAddPromoteMemoryToRegisterPass declarations from
llvm-c/Transforms/Scalar.h to llvm-c/Transforms/Utils.h
Repository:
rL LLVM
https://reviews.llvm.org/D52214
Files:
bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
Index: bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
===================================================================
--- bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
+++ bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c
@@ -16,6 +16,7 @@
\*===----------------------------------------------------------------------===*/
#include "llvm-c/Transforms/Scalar.h"
+#include "llvm-c/Transforms/Utils.h"
#include "caml/mlvalues.h"
#include "caml/misc.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52214.165872.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180918/a2aca791/attachment.bin>
More information about the llvm-commits
mailing list