diff options
author | Amaury Sechet <deadalnix@gmail.com> | 2016-02-15 23:40:06 +0000 |
---|---|---|
committer | Amaury Sechet <deadalnix@gmail.com> | 2016-02-15 23:40:06 +0000 |
commit | 6ada31c2a686eb7647134c910e716b6a3509d64d (patch) | |
tree | c8613b1f8310cd909af79f9b0a3909aaaf4b4536 | |
parent | 20ebada4f8d1067733f01d6dd19ff76b5d38b3c5 (diff) | |
download | bcm5719-llvm-6ada31c2a686eb7647134c910e716b6a3509d64d.tar.gz bcm5719-llvm-6ada31c2a686eb7647134c910e716b6a3509d64d.zip |
Rename LLVMSetDataLayout's argument to match what they stand for
llvm-svn: 260916
-rw-r--r-- | llvm/include/llvm-c/Core.h | 2 | ||||
-rw-r--r-- | llvm/lib/IR/Core.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index c2445748c2f..cd987c88f56 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -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. diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp index d3abe0b9262..b423716f3ac 100644 --- a/llvm/lib/IR/Core.cpp +++ b/llvm/lib/IR/Core.cpp @@ -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 .......................................................--*/ |