Simplify ObjectFile::GetUUID
instead of returning the UUID through by-ref argument and a boolean value indicating success, we can just return it directly. Since the UUID class already has an invalid state, it can be used to denote the failure without the additional bool. llvm-svn: 353714
This commit is contained in:
@@ -166,9 +166,9 @@ void ObjectFileJIT::Dump(Stream *s) {
|
||||
}
|
||||
}
|
||||
|
||||
bool ObjectFileJIT::GetUUID(lldb_private::UUID *uuid) {
|
||||
UUID ObjectFileJIT::GetUUID() {
|
||||
// TODO: maybe get from delegate, not needed for first pass
|
||||
return false;
|
||||
return UUID();
|
||||
}
|
||||
|
||||
uint32_t ObjectFileJIT::GetDependentModules(FileSpecList &files) {
|
||||
|
||||
Reference in New Issue
Block a user