[PATCH] D44140: Add missing header for InstructionCombining.cpp, in order to export LLVMInitializeInstCombine as extern "C"

Brenton Bostick via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 6 07:09:11 PST 2018


brenton updated this revision to Diff 137191.
brenton added a comment.

You are correct. I ran clang-format on it.

clang-format also formatted the rest of the file and changed it, but I did not want to make those changes in this revision.


Repository:
  rL LLVM

https://reviews.llvm.org/D44140

Files:
  lib/Transforms/InstCombine/InstructionCombining.cpp


Index: lib/Transforms/InstCombine/InstructionCombining.cpp
===================================================================
--- lib/Transforms/InstCombine/InstructionCombining.cpp
+++ lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -34,6 +34,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "InstCombineInternal.h"
+#include "llvm-c/Initialization.h"
 #include "llvm/ADT/APInt.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/DenseMap.h"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44140.137191.patch
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180306/e80b70d0/attachment.bin>


More information about the llvm-commits mailing list