diff options
Diffstat (limited to 'llvm/include/llvm-c/Transforms/InstCombine.h')
-rw-r--r-- | llvm/include/llvm-c/Transforms/InstCombine.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/include/llvm-c/Transforms/InstCombine.h b/llvm/include/llvm-c/Transforms/InstCombine.h index 166f278d9a69..ebe17d667061 100644 --- a/llvm/include/llvm-c/Transforms/InstCombine.h +++ b/llvm/include/llvm-c/Transforms/InstCombine.h @@ -15,11 +15,10 @@ #ifndef LLVM_C_TRANSFORMS_INSTCOMBINE_H #define LLVM_C_TRANSFORMS_INSTCOMBINE_H +#include "llvm-c/ExternC.h" #include "llvm-c/Types.h" -#ifdef __cplusplus -extern "C" { -#endif +LLVM_C_EXTERN_C_BEGIN /** * @defgroup LLVMCTransformsInstCombine Instruction Combining transformations @@ -35,9 +34,7 @@ void LLVMAddInstructionCombiningPass(LLVMPassManagerRef PM); * @} */ -#ifdef __cplusplus -} -#endif /* defined(__cplusplus) */ +LLVM_C_EXTERN_C_END #endif |