summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-31 01:22:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-31 01:22:21 +0000
commit63ed1a35193abc706bd808931572b98e11502f25 (patch)
tree83544ec27f9e80f577a88508372a6df34f1b83bc /lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
parent83f4192a478761eb9bfac50c9df4cf3173fcc136 (diff)
downloadbcm5719-llvm-63ed1a35193abc706bd808931572b98e11502f25.tar.gz
bcm5719-llvm-63ed1a35193abc706bd808931572b98e11502f25.zip
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
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp b/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
index 4ce61fc9cb9..d792975dc71 100644
--- a/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
+++ b/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
@@ -706,7 +706,7 @@ writeYaml(const NormalizedFile &file, raw_ostream &out) {
// Stream out yaml.
yout << *f;
- return error_code::success();
+ return error_code();
}
} // namespace normalized
OpenPOWER on IntegriCloud