summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2013-11-15 02:51:01 +0000
committerPeter Zotov <whitequark@whitequark.org>2013-11-15 02:51:01 +0000
commit5ea0c20ce7a161d23a9bf8f1beea0ffb6a02898c (patch)
treed3b3e5c1e56d75211f5ff440e5b8c9128691738e /include/llvm-c
parent1703a714954f9ef0c32415423e2a1e15b152e711 (diff)
downloadllvm-5ea0c20ce7a161d23a9bf8f1beea0ffb6a02898c.tar.gz
llvm-5ea0c20ce7a161d23a9bf8f1beea0ffb6a02898c.tar.bz2
llvm-5ea0c20ce7a161d23a9bf8f1beea0ffb6a02898c.tar.xz
[llvm-c] Simplify signature of LLVMGetTargetFromName
LLVMGetTargetFromName was not yet present in an LLVM release, so this does not break compatibility. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/TargetMachine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm-c/TargetMachine.h b/include/llvm-c/TargetMachine.h
index 84f9144ad5..15d664f54c 100644
--- a/include/llvm-c/TargetMachine.h
+++ b/include/llvm-c/TargetMachine.h
@@ -64,7 +64,7 @@ LLVMTargetRef LLVMGetNextTarget(LLVMTargetRef T);
/*===-- Target ------------------------------------------------------------===*/
/** Finds the target corresponding to the given name and stores it in \p T.
Returns 0 on success. */
-LLVMBool LLVMGetTargetFromName(const char *Name, LLVMTargetRef *T);
+LLVMTargetRef LLVMGetTargetFromName(const char *Name);
/** Finds the target corresponding to the given triple and stores it in \p T.
Returns 0 on success. Optionally returns any error in ErrorMessage.