[PATCH] D26125: [clang-tidy] Fixed else-after-return warning in cascade if statement

Matthias Gehre via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 30 12:26:27 PDT 2016


mgehre added a comment.

With this fix, is there still a warning on the following code?

  if(b) {
     ...
     if(c)
      return;
     else
      doSomething()
     ...
  }

I would expect that the check still warns on it.


https://reviews.llvm.org/D26125





More information about the cfe-commits mailing list