[PATCH] Refactor: Simplify boolean conditional return statements in tools/yaml2obj

Sean Silva chisophugis at gmail.com
Wed May 27 18:30:54 PDT 2015


The way it already is makes it immediately clear that this is forwarding errors, and immediately indicates what the sense of the error bool is. The suggested alternatives require head scratching/digging around. I vote to keep it as-is.


http://reviews.llvm.org/D10007

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list