[Lldb-commits] [PATCH] Clear should reset error to invalid instead of generic

Zachary Turner zturner at google.com
Thu Jan 22 11:31:46 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7113

Files:
  lldb/trunk/source/Core/Error.cpp

Index: lldb/trunk/source/Core/Error.cpp
===================================================================
--- lldb/trunk/source/Core/Error.cpp
+++ lldb/trunk/source/Core/Error.cpp
@@ -146,7 +146,7 @@
 Error::Clear ()
 {
     m_code = 0;
-    m_type = eErrorTypeGeneric;
+    m_type = eErrorTypeInvalid;
     m_string.clear();
 }

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7113.18630.patch
Type: text/x-patch
Size: 333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150122/56c34b86/attachment.bin>


More information about the lldb-commits mailing list