diff options
author | Peter Zotov <whitequark@whitequark.org> | 2013-11-15 02:51:01 +0000 |
---|---|---|
committer | Peter Zotov <whitequark@whitequark.org> | 2013-11-15 02:51:01 +0000 |
commit | b2c8b8a460cc8eb8bfc0c193a1713047a969525a (patch) | |
tree | cc8e1b00a670c8865ac9964fdbe45fd5394e9048 /llvm/include/llvm-c | |
parent | 1c6fd204275e0f17b3f9c5f2850484ed4bbbd278 (diff) | |
download | bcm5719-llvm-b2c8b8a460cc8eb8bfc0c193a1713047a969525a.tar.gz bcm5719-llvm-b2c8b8a460cc8eb8bfc0c193a1713047a969525a.zip |
[llvm-c] Simplify signature of LLVMGetTargetFromName
LLVMGetTargetFromName was not yet present in an LLVM release,
so this does not break compatibility.
llvm-svn: 194769
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/TargetMachine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/TargetMachine.h b/llvm/include/llvm-c/TargetMachine.h index 84f9144ad54..15d664f54cf 100644 --- a/llvm/include/llvm-c/TargetMachine.h +++ b/llvm/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. |