[llvm] r260916 - Rename LLVMSetDataLayout's argument to match what they stand for
Amaury Sechet via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 15 15:40:08 PST 2016
Author: deadalnix
Date: Mon Feb 15 17:40:06 2016
New Revision: 260916
URL: http://llvm.org/viewvc/llvm-project?rev=260916&view=rev
Log:
Rename LLVMSetDataLayout's argument to match what they stand for
Modified:
llvm/trunk/include/llvm-c/Core.h
llvm/trunk/lib/IR/Core.cpp
Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=260916&r1=260915&r2=260916&view=diff
==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Mon Feb 15 17:40:06 2016
@@ -490,7 +490,7 @@ const char *LLVMGetDataLayout(LLVMModule
*
* @see Module::setDataLayout()
*/
-void LLVMSetDataLayout(LLVMModuleRef M, const char *Triple);
+void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr);
/**
* Obtain the target triple for a module.
Modified: llvm/trunk/lib/IR/Core.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Core.cpp?rev=260916&r1=260915&r2=260916&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Core.cpp (original)
+++ llvm/trunk/lib/IR/Core.cpp Mon Feb 15 17:40:06 2016
@@ -164,8 +164,8 @@ const char * LLVMGetDataLayout(LLVMModul
return unwrap(M)->getDataLayoutStr().c_str();
}
-void LLVMSetDataLayout(LLVMModuleRef M, const char *Triple) {
- unwrap(M)->setDataLayout(Triple);
+void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr) {
+ unwrap(M)->setDataLayout(DataLayoutStr);
}
/*--.. Target triple .......................................................--*/
More information about the llvm-commits
mailing list