mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-27 08:26:23 +00:00
Rename LLVMSetDataLayout's argument to match what they stand for
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260916 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5cdb7d1d3d
commit
ab96d57a0b
@ -490,7 +490,7 @@ const char *LLVMGetDataLayout(LLVMModuleRef M);
|
||||
*
|
||||
* @see Module::setDataLayout()
|
||||
*/
|
||||
void LLVMSetDataLayout(LLVMModuleRef M, const char *Triple);
|
||||
void LLVMSetDataLayout(LLVMModuleRef M, const char *DataLayoutStr);
|
||||
|
||||
/**
|
||||
* Obtain the target triple for a module.
|
||||
|
@ -164,8 +164,8 @@ const char * LLVMGetDataLayout(LLVMModuleRef M) {
|
||||
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 .......................................................--*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user