mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
Cleaned up many error codes. For any who is filling in error strings into
lldb_private::Error objects the rules are: - short strings that don't start with a capitol letter unless the name is a class or anything else that is always capitolized - no trailing newline character - should be one line if possible Implemented a first pass at adding "--gdb-format" support to anything that accepts format with optional size/count. llvm-svn: 142999
This commit is contained in:
@@ -179,7 +179,7 @@ ValueObjectChild::UpdateValue ()
|
||||
// extract the child value from within the parent data?
|
||||
// Probably...
|
||||
default:
|
||||
m_error.SetErrorString ("Parent has invalid value.");
|
||||
m_error.SetErrorString ("parent has invalid value.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -192,7 +192,7 @@ ValueObjectChild::UpdateValue ()
|
||||
}
|
||||
else
|
||||
{
|
||||
m_error.SetErrorStringWithFormat("Parent failed to evaluate: %s.\n", parent->GetError().AsCString());
|
||||
m_error.SetErrorStringWithFormat("parent failed to evaluate: %s", parent->GetError().AsCString());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user