summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/readability-redundant-control-flow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Bugfix for readability-redundant-control-flow checkKirill Bobyrev2016-09-161-0/+2
| | | | | | | | | | | | | This check did not create FixItHints when the statement before the redundant control flow was not followed by a semicolon. Patch by Malcolm Parsons! Reviewers: alexfh Differential Revision: https://reviews.llvm.org/D24500 llvm-svn: 281713
* Add a new check, readability-redundant-control-flow, that check for some ↵Aaron Ballman2016-02-011-0/+222
forms of redundant control flow statements. Currently checks for return statements at the end of a function with a void return type and continue statements at the end of looping statements. Patch by Richard Thomson. llvm-svn: 259362
OpenPOWER on IntegriCloud