summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2016-02-15 23:40:06 +0000
committerAmaury Sechet <deadalnix@gmail.com>2016-02-15 23:40:06 +0000
commit6ada31c2a686eb7647134c910e716b6a3509d64d (patch)
treec8613b1f8310cd909af79f9b0a3909aaaf4b4536 /llvm/lib/IR
parent20ebada4f8d1067733f01d6dd19ff76b5d38b3c5 (diff)
downloadbcm5719-llvm-6ada31c2a686eb7647134c910e716b6a3509d64d.tar.gz
bcm5719-llvm-6ada31c2a686eb7647134c910e716b6a3509d64d.zip
Rename LLVMSetDataLayout's argument to match what they stand for
llvm-svn: 260916
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/Core.cpp4
1 files changed, 2 insertions, 2 deletions
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 .......................................................--*/
OpenPOWER on IntegriCloud