Use error_code() instead of error_code::succes()
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 01:37:45 +0000 (01:37 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 01:37:45 +0000 (01:37 +0000)
commit03bddfee473f0655025a4e31bc80b5654afb2dbd
tree118957c57f1aab51e07391bb8c05e926c1db8930
parentec1aacaf5c9b5a9ff7ca7ab7a99b4c6bbdfb6fca
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: 209952
19 files changed:
llvm/include/llvm/Object/ELF.h
llvm/include/llvm/Support/ErrorOr.h
llvm/include/llvm/Support/FileSystem.h
llvm/include/llvm/Support/system_error.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
llvm/lib/IR/Module.cpp
llvm/lib/Object/Archive.cpp
llvm/lib/Support/DataStream.cpp
llvm/lib/Support/FileOutputBuffer.cpp
llvm/lib/Support/MemoryBuffer.cpp
llvm/lib/Support/Path.cpp
llvm/lib/Support/Unix/Memory.inc
llvm/lib/Support/Unix/Path.inc
llvm/lib/Support/Unix/Process.inc
llvm/lib/Support/Windows/Memory.inc
llvm/lib/Support/Windows/Path.inc
llvm/lib/Support/Windows/Process.inc
llvm/unittests/Support/MemoryTest.cpp