Rename Error -> Status.
This renames the LLDB error class to Status, as discussed on the lldb-dev mailing list. A change of this magnitude cannot easily be done without find and replace, but that has potential to catch unwanted occurrences of common strings such as "Error". Every effort was made to find all the obvious things such as the word "Error" appearing in a string, etc, but it's possible there are still some lingering occurences left around. Hopefully nothing too serious. llvm-svn: 302872
This commit is contained in:
@@ -281,7 +281,7 @@ size_t SBProcess::PutSTDIN(const char *src, size_t src_len) {
|
||||
size_t ret_val = 0;
|
||||
ProcessSP process_sp(GetSP());
|
||||
if (process_sp) {
|
||||
Error error;
|
||||
Status error;
|
||||
ret_val = process_sp->PutSTDIN(src, src_len, error);
|
||||
}
|
||||
|
||||
@@ -298,7 +298,7 @@ size_t SBProcess::GetSTDOUT(char *dst, size_t dst_len) const {
|
||||
size_t bytes_read = 0;
|
||||
ProcessSP process_sp(GetSP());
|
||||
if (process_sp) {
|
||||
Error error;
|
||||
Status error;
|
||||
bytes_read = process_sp->GetSTDOUT(dst, dst_len, error);
|
||||
}
|
||||
|
||||
@@ -317,7 +317,7 @@ size_t SBProcess::GetSTDERR(char *dst, size_t dst_len) const {
|
||||
size_t bytes_read = 0;
|
||||
ProcessSP process_sp(GetSP());
|
||||
if (process_sp) {
|
||||
Error error;
|
||||
Status error;
|
||||
bytes_read = process_sp->GetSTDERR(dst, dst_len, error);
|
||||
}
|
||||
|
||||
@@ -336,7 +336,7 @@ size_t SBProcess::GetAsyncProfileData(char *dst, size_t dst_len) const {
|
||||
size_t bytes_read = 0;
|
||||
ProcessSP process_sp(GetSP());
|
||||
if (process_sp) {
|
||||
Error error;
|
||||
Status error;
|
||||
bytes_read = process_sp->GetAsyncProfileData(dst, dst_len, error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user