From: Richard Smith Date: Tue, 8 Apr 2014 10:47:04 +0000 (+0000) Subject: The LLVM C API shouldn't be including a file from the C++ API. Especially not a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0bd8ea3823bd842a1852db97bad6c7d1cbebdc47;p=oota-llvm.git The LLVM C API shouldn't be including a file from the C++ API. Especially not a file that it doesn't use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205755 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm-c/Transforms/PassManagerBuilder.h b/include/llvm-c/Transforms/PassManagerBuilder.h index 545f8aae8ca..3d7a9d677ea 100644 --- a/include/llvm-c/Transforms/PassManagerBuilder.h +++ b/include/llvm-c/Transforms/PassManagerBuilder.h @@ -19,7 +19,6 @@ typedef struct LLVMOpaquePassManagerBuilder *LLVMPassManagerBuilderRef; #ifdef __cplusplus -#include "llvm/Transforms/IPO/PassManagerBuilder.h" extern "C" { #endif