[PATCH] D23265: [clang-tidy] enhance readability-else-after-return

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 8 07:26:45 PDT 2016


omtcyfz created this revision.
omtcyfz added a reviewer: alexfh.
omtcyfz added a subscriber: cfe-commits.

`readability-else-after-return` only warns about `return` calls, but [[ http://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return | Coding Stadnards ]] mention `throw`, `continue`, `goto`, etc.

https://reviews.llvm.org/D23265

Files:
  clang-tidy/readability/ElseAfterReturnCheck.cpp
  test/clang-tidy/readability-else-after-return.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23265.67160.patch
Type: text/x-patch
Size: 4358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160808/89286373/attachment.bin>


More information about the cfe-commits mailing list