Error::Clear() should reset the type to invalid instead of generic.
authorZachary Turner <zturner@google.com>
Thu, 22 Jan 2015 19:30:05 +0000 (19:30 +0000)
committerZachary Turner <zturner@google.com>
Thu, 22 Jan 2015 19:30:05 +0000 (19:30 +0000)
commitef489e9751f9f90dd7e4e30e4dff079d607d096d
tree84247517de7ead1d187d0e5d23216111fe3475b2
parentf12b33454f49b3dd084a9c3364bd2c4a39b19f71
Error::Clear() should reset the type to invalid instead of generic.

This matches the behavior of the default constructor, so is
technically more correct.

Patch by Chaoren Lin
Differential Revision: http://reviews.llvm.org/D7113

llvm-svn: 226851
lldb/source/Core/Error.cpp