aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2013-11-15 02:51:12 +0000
committerPeter Zotov <whitequark@whitequark.org>2013-11-15 02:51:12 +0000
commitfa74752298602e0b74fb60ce3f0e76d0c461d3d8 (patch)
treedfba3069ca7630366f458baa973befd821fc04c9 /include
parent5ea0c20ce7a161d23a9bf8f1beea0ffb6a02898c (diff)
downloadexternal_llvm-fa74752298602e0b74fb60ce3f0e76d0c461d3d8.zip
external_llvm-fa74752298602e0b74fb60ce3f0e76d0c461d3d8.tar.gz
external_llvm-fa74752298602e0b74fb60ce3f0e76d0c461d3d8.tar.bz2
[llvm-c] Add missing const qualifiers to LLVMCreateTargetMachine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/TargetMachine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm-c/TargetMachine.h b/include/llvm-c/TargetMachine.h
index 15d664f..e159411 100644
--- a/include/llvm-c/TargetMachine.h
+++ b/include/llvm-c/TargetMachine.h
@@ -89,9 +89,9 @@ LLVMBool LLVMTargetHasAsmBackend(LLVMTargetRef T);
/*===-- Target Machine ----------------------------------------------------===*/
/** Creates a new llvm::TargetMachine. See llvm::Target::createTargetMachine */
-LLVMTargetMachineRef LLVMCreateTargetMachine(LLVMTargetRef T, char *Triple,
- char *CPU, char *Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc,
- LLVMCodeModel CodeModel);
+LLVMTargetMachineRef LLVMCreateTargetMachine(LLVMTargetRef T,
+ const char *Triple, const char *CPU, const char *Features,
+ LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, LLVMCodeModel CodeModel);
/** Dispose the LLVMTargetMachineRef instance generated by
LLVMCreateTargetMachine. */