Simplify ObjectFile::GetUUID
authorPavel Labath <pavel@labath.sk>
Mon, 11 Feb 2019 16:14:02 +0000 (16:14 +0000)
committerPavel Labath <pavel@labath.sk>
Mon, 11 Feb 2019 16:14:02 +0000 (16:14 +0000)
commitbd334efd0aec3d26d7ace3c5f8b858b07e0bb9bd
tree48a468ce6ce77ac4fc7b841e80a753e8459b8ff1
parent5caa550649740ee39ec09cbb195129d1687ca880
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
13 files changed:
lldb/include/lldb/Symbol/ObjectFile.h
lldb/source/Core/Module.cpp
lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp