OSDN Git Service

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)
commit1bab2d53996ca082150f34d8dafc1968fb5ecba9
treec1e2d538aa623bb0de93b37a36327a0d6ef2c1de
parentbfe17408a9bcad9cbb29ff0dafb8a7674a7c09a6
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209952 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/llvm/Object/ELF.h
include/llvm/Support/ErrorOr.h
include/llvm/Support/FileSystem.h
include/llvm/Support/system_error.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp
lib/IR/Module.cpp
lib/Object/Archive.cpp
lib/Support/DataStream.cpp
lib/Support/FileOutputBuffer.cpp
lib/Support/MemoryBuffer.cpp
lib/Support/Path.cpp
lib/Support/Unix/Memory.inc
lib/Support/Unix/Path.inc
lib/Support/Unix/Process.inc
lib/Support/Windows/Memory.inc
lib/Support/Windows/Path.inc
lib/Support/Windows/Process.inc
unittests/Support/MemoryTest.cpp