diff options
Diffstat (limited to 'include/llvm-c/TargetMachine.h')
-rw-r--r-- | include/llvm-c/TargetMachine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm-c/TargetMachine.h b/include/llvm-c/TargetMachine.h index 84f9144..15d664f 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. |