Use error_code() instead of error_code::succes()
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 02:00:59 +0000 (02:00 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 02:00:59 +0000 (02:00 +0000)
commit228166a4ca07bc5bb87b2097fc947e1c262b06a5
treef7d750aa549a20fbac7ff9a068322b86718dd498
parent03bddfee473f0655025a4e31bc80b5654afb2dbd
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: 209953
clang-tools-extra/clang-modernize/Core/IncludeExcludeInfo.cpp
clang-tools-extra/modularize/Modularize.cpp
clang-tools-extra/unittests/clang-modernize/IncludeExcludeTest.cpp