[llvm] r180891 - Rename 'struct LLVMTargetMachine' to 'struct LLVMOpaqueTargetMachine'.

Filip Pizlo fpizlo at apple.com
Wed May 1 15:41:27 PDT 2013


Author: fpizlo
Date: Wed May  1 17:41:26 2013
New Revision: 180891

URL: http://llvm.org/viewvc/llvm-project?rev=180891&view=rev
Log:
Rename 'struct LLVMTargetMachine' to 'struct LLVMOpaqueTargetMachine'. 
This avoids namespace collisions with llvm::LLVMTargetMachine.


Modified:
    llvm/trunk/include/llvm-c/TargetMachine.h

Modified: llvm/trunk/include/llvm-c/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/TargetMachine.h?rev=180891&r1=180890&r2=180891&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/TargetMachine.h (original)
+++ llvm/trunk/include/llvm-c/TargetMachine.h Wed May  1 17:41:26 2013
@@ -25,7 +25,7 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
-typedef struct LLVMTargetMachine *LLVMTargetMachineRef;
+typedef struct LLVMOpaqueTargetMachine *LLVMTargetMachineRef;
 typedef struct LLVMTarget *LLVMTargetRef;
 
 typedef enum {





More information about the llvm-commits mailing list