Use error_code() instead of error_code::succes()
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 01:22:21 +0000 (01:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 01:22:21 +0000 (01:22 +0000)
commit63ed1a35193abc706bd808931572b98e11502f25
tree83544ec27f9e80f577a88508372a6df34f1b83bc
parent83f4192a478761eb9bfac50c9df4cf3173fcc136
Use error_code() instead of error_code::succes()

There is no std::error_code::success, so this removes much of the noise
in transitioning to std::error_code.

llvm-svn: 209948
36 files changed:
lld/include/lld/Core/InputGraph.h
lld/include/lld/Driver/DarwinInputGraph.h
lld/lib/Core/InputGraph.cpp
lld/lib/Core/PassManager.cpp
lld/lib/Driver/GnuLdDriver.cpp
lld/lib/Driver/GnuLdInputGraph.cpp
lld/lib/Driver/WinLinkInputGraph.cpp
lld/lib/ReaderWriter/ELF/ELFFile.h
lld/lib/ReaderWriter/ELF/ELFReader.h
lld/lib/ReaderWriter/ELF/Hexagon/HexagonDynamicLibraryWriter.h
lld/lib/ReaderWriter/ELF/Hexagon/HexagonELFReader.h
lld/lib/ReaderWriter/ELF/Hexagon/HexagonExecutableWriter.h
lld/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.cpp
lld/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp
lld/lib/ReaderWriter/ELF/Mips/MipsDynamicLibraryWriter.h
lld/lib/ReaderWriter/ELF/Mips/MipsELFFile.h
lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h
lld/lib/ReaderWriter/ELF/Mips/MipsExecutableWriter.h
lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp
lld/lib/ReaderWriter/ELF/OutputELFWriter.h
lld/lib/ReaderWriter/ELF/PPC/PPCELFReader.h
lld/lib/ReaderWriter/ELF/PPC/PPCTargetHandler.cpp
lld/lib/ReaderWriter/ELF/X86/X86TargetHandler.cpp
lld/lib/ReaderWriter/ELF/X86_64/X86_64RelocationHandler.cpp
lld/lib/ReaderWriter/ELF/X86_64/X86_64RelocationPass.cpp
lld/lib/ReaderWriter/FileArchive.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
lld/lib/ReaderWriter/Native/ReaderNative.cpp
lld/lib/ReaderWriter/Native/WriterNative.cpp
lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp
lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.cpp
lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp