mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +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);
|
uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI);
|
||||||
const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI);
|
const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI);
|
||||||
uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI);
|
uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI);
|
||||||
int LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
||||||
LLVMSymbolIteratorRef Sym);
|
LLVMSymbolIteratorRef Sym);
|
||||||
|
|
||||||
// SymbolRef accessors
|
// SymbolRef accessors
|
||||||
|
@ -104,7 +104,7 @@ uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI,
|
||||||
LLVMSymbolIteratorRef Sym) {
|
LLVMSymbolIteratorRef Sym) {
|
||||||
bool ret;
|
bool ret;
|
||||||
if (error_code ec = (*unwrap(SI))->containsSymbol(**unwrap(Sym), ret))
|
if (error_code ec = (*unwrap(SI))->containsSymbol(**unwrap(Sym), ret))
|
||||||
|
Loading…
Reference in New Issue
Block a user