[Lldb-commits] [PATCH] D12873: Return false, not 0, for bools.

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 15 17:01:49 PDT 2015


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12873.34856.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150916/738d9dbb/attachment.bin>


More information about the lldb-commits mailing list