[Lldb-commits] [lldb] r247755 - Return false, not 0, for bools.
Bruce Mitchener via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 15 17:00:16 PDT 2015
Author: brucem
Date: Tue Sep 15 19:00:16 2015
New Revision: 247755
URL: http://llvm.org/viewvc/llvm-project?rev=247755&view=rev
Log:
Return false, not 0, for bools.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D12873
Modified:
lldb/trunk/source/Symbol/ClangASTContext.cpp
lldb/trunk/source/Symbol/CompilerType.cpp
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=247755&r1=247754&r2=247755&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Tue Sep 15 19:00:16 2015
@@ -2531,7 +2531,7 @@ ClangASTContext::IsArrayType (void* type
*size = 0;
if (is_incomplete)
*is_incomplete = false;
- return 0;
+ return false;
}
bool
Modified: lldb/trunk/source/Symbol/CompilerType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/CompilerType.cpp?rev=247755&r1=247754&r2=247755&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/CompilerType.cpp (original)
+++ lldb/trunk/source/Symbol/CompilerType.cpp Tue Sep 15 19:00:16 2015
@@ -78,7 +78,7 @@ CompilerType::IsArrayType (CompilerType
*size = 0;
if (is_incomplete)
*is_incomplete = false;
- return 0;
+ return false;
}
bool
More information about the lldb-commits
mailing list