[PATCH] Refactor: simplify boolean conditional return statements in lib/Analysis

Jordan Rose jordan_rose at apple.com
Tue May 26 08:48:36 PDT 2015


In this case I think the change is all right, but many times we have a series of early returns ending with a "return true". In that case I'm not sure clang-tidy's version is clearer.


http://reviews.llvm.org/D10008

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






More information about the cfe-commits mailing list