mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Use LLVMBool for a function that logically returns a boolean value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142683 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6310316db
commit
ca7eb3e171
@ -58,7 +58,7 @@ const char *LLVMGetSectionName(LLVMSectionIteratorRef SI);
|
||||
uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI);
|
||||
const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI);
|
||||
uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI);
|
||||
int LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
||||
LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
||||
LLVMSymbolIteratorRef Sym);
|
||||
|
||||
// SymbolRef accessors
|
||||
|
@ -104,7 +104,7 @@ uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
int LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
||||
LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
||||
LLVMSymbolIteratorRef Sym) {
|
||||
bool ret;
|
||||
if (error_code ec = (*unwrap(SI))->containsSymbol(**unwrap(Sym), ret))
|
||||
|
Loading…
Reference in New Issue
Block a user