Use error_code() instead of error_code::succes()
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 01:26:30 +0000 (01:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 May 2014 01:26:30 +0000 (01:26 +0000)
commitcb82dfb11c95e671dbacd66a066114e7e88678ac
tree346de5579d44cff0f9af1e58b1d2a642576263ae
parent63ed1a35193abc706bd808931572b98e11502f25
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: 209949
clang/lib/Basic/VirtualFileSystem.cpp
clang/lib/Format/Format.cpp
clang/lib/Frontend/FrontendActions.cpp