diff options
| author | gingerBill <bill@gingerbill.org> | 2021-03-19 15:46:33 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-03-19 15:46:33 +0000 |
| commit | bda9eb73480967b83e2c38b5ebd948f88321cd2e (patch) | |
| tree | 7954d7525d7c066fdbdde3b7803ab91733d35116 /src/llvm-c/TargetMachine.h | |
| parent | 2b806f7463e7bff9a6818e17ed65b9640a905f50 (diff) | |
Update llvm-c headers for Version 11.0.1
Diffstat (limited to 'src/llvm-c/TargetMachine.h')
| -rw-r--r-- | src/llvm-c/TargetMachine.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/llvm-c/TargetMachine.h b/src/llvm-c/TargetMachine.h index 28f4d1602..4efd8ca08 100644 --- a/src/llvm-c/TargetMachine.h +++ b/src/llvm-c/TargetMachine.h @@ -19,12 +19,12 @@ #ifndef LLVM_C_TARGETMACHINE_H #define LLVM_C_TARGETMACHINE_H +#include "ExternC.h" #include "Target.h" #include "Types.h" -#ifdef __cplusplus -extern "C" { -#endif +LLVM_C_EXTERN_C_BEGIN + typedef struct LLVMOpaqueTargetMachine *LLVMTargetMachineRef; typedef struct LLVMTarget *LLVMTargetRef; @@ -156,8 +156,6 @@ char* LLVMGetHostCPUFeatures(void); /** Adds the target-specific analysis passes to the pass manager. */ void LLVMAddAnalysisPasses(LLVMTargetMachineRef T, LLVMPassManagerRef PM); -#ifdef __cplusplus -} -#endif +LLVM_C_EXTERN_C_END #endif |