[PATCH] D67488: [lib/ObjectYAML] - Change interface to return `bool` instead of `int`. NFCI.

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 12 10:11:10 PDT 2019


sbc100 accepted this revision.
sbc100 added inline comments.


================
Comment at: lib/ObjectYAML/yaml2obj.cpp:20
 Error convertYAML(yaml::Input &YIn, raw_ostream &Out, unsigned DocNum) {
-  // TODO: make yaml2* functions return Error instead of int.
-  auto IntToErr = [](int Ret) -> Error {
----------------
Is this comment still useful?  


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67488/new/

https://reviews.llvm.org/D67488





More information about the llvm-commits mailing list