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:
@@ -837,7 +837,7 @@ void ObjectFilePECOFF::CreateSections(SectionList &unified_section_list) {
|
||||
}
|
||||
}
|
||||
|
||||
bool ObjectFilePECOFF::GetUUID(UUID *uuid) { return false; }
|
||||
UUID ObjectFilePECOFF::GetUUID() { return UUID(); }
|
||||
|
||||
uint32_t ObjectFilePECOFF::ParseDependentModules() {
|
||||
ModuleSP module_sp(GetModule());
|
||||
|
||||
Reference in New Issue
Block a user