Daniel Jasper
a73aed0c9b
clang-tidy: [readability-else-after-return] Fix false positive. This
...
might be a little too strict now, but better be too strict than do the
wrong thing.
llvm-svn: 235932
2015-04-27 22:42:20 +00:00
Alexander Kornienko
8384d491d8
[clang-tidy] Refactor: Move readability checks to namespace clang::tidy::readability
...
clang-tidy checks are organized into modules. This refactoring moves the
readability module checks into the namespace clang::tidy::readability
http://reviews.llvm.org/D7997
Patch by Richard Thomson!
llvm-svn: 230946
2015-03-02 11:43:00 +00:00
Daniel Jasper
3b6018b9f6
clang-tidy: Add initial check for "Don't use else after return".
...
As per the LLVM coding standards:
http://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return
Initial version, probably still quite a bit to do until this is really
useful.
Review: http://reviews.llvm.org/D6927
llvm-svn: 226025
2015-01-14 19:37:54 +00:00