forked from OSchip/llvm-project
Return false, not 0, for bools.
Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12873 llvm-svn: 247755
This commit is contained in:
parent
5747dd158b
commit
778e7ab5a3
|
@ -2531,7 +2531,7 @@ ClangASTContext::IsArrayType (void* type,
|
|||
*size = 0;
|
||||
if (is_incomplete)
|
||||
*is_incomplete = false;
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
@ -78,7 +78,7 @@ CompilerType::IsArrayType (CompilerType *element_type_ptr,
|
|||
*size = 0;
|
||||
if (is_incomplete)
|
||||
*is_incomplete = false;
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue