This revision was automatically updated to reflect the committed changes. Closed by commit rL247755: Return false, not 0, for bools. (authored by brucem).
Changed prior to commit: http://reviews.llvm.org/D12873?vs=34777&id=34856#toc Repository: rL LLVM http://reviews.llvm.org/D12873 Files: lldb/trunk/source/Symbol/ClangASTContext.cpp lldb/trunk/source/Symbol/CompilerType.cpp Index: lldb/trunk/source/Symbol/CompilerType.cpp =================================================================== --- lldb/trunk/source/Symbol/CompilerType.cpp +++ lldb/trunk/source/Symbol/CompilerType.cpp @@ -78,7 +78,7 @@ *size = 0; if (is_incomplete) *is_incomplete = false; - return 0; + return false; } bool Index: lldb/trunk/source/Symbol/ClangASTContext.cpp =================================================================== --- lldb/trunk/source/Symbol/ClangASTContext.cpp +++ lldb/trunk/source/Symbol/ClangASTContext.cpp @@ -2531,7 +2531,7 @@ *size = 0; if (is_incomplete) *is_incomplete = false; - return 0; + return false; } bool
Index: lldb/trunk/source/Symbol/CompilerType.cpp =================================================================== --- lldb/trunk/source/Symbol/CompilerType.cpp +++ lldb/trunk/source/Symbol/CompilerType.cpp @@ -78,7 +78,7 @@ *size = 0; if (is_incomplete) *is_incomplete = false; - return 0; + return false; } bool Index: lldb/trunk/source/Symbol/ClangASTContext.cpp =================================================================== --- lldb/trunk/source/Symbol/ClangASTContext.cpp +++ lldb/trunk/source/Symbol/ClangASTContext.cpp @@ -2531,7 +2531,7 @@ *size = 0; if (is_incomplete) *is_incomplete = false; - return 0; + return false; } bool
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits