Rename 'struct LLVMTargetMachine' to 'struct LLVMOpaqueTargetMachine'.
authorFilip Pizlo <fpizlo@apple.com>
Wed, 1 May 2013 22:41:26 +0000 (22:41 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Wed, 1 May 2013 22:41:26 +0000 (22:41 +0000)
This avoids namespace collisions with llvm::LLVMTargetMachine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180891 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm-c/TargetMachine.h

index 587872350834f12b5f33c625234e123a56799b11..5e355959f642918b6d8c926df5c534d89637dc5f 100644 (file)
@@ -25,7 +25,7 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
-typedef struct LLVMTargetMachine *LLVMTargetMachineRef;
+typedef struct LLVMOpaqueTargetMachine *LLVMTargetMachineRef;
 typedef struct LLVMTarget *LLVMTargetRef;
 
 typedef enum {