llvm-project/clang-tools-extra/clang-tidy/readability
Alexander Kornienko fb3e2cd8cc [clang-tidy] Enhance clang-tidy readability-simplify-boolean-expr check...
Enhance clang-tidy readability-simplify-boolean-expr check to handle chained
conditional assignment and chained conditional return.

Based on feedback from applying this tool to the clang/LLVM codebase, this
changeset improves the readability-simplify-boolean-expr check so that
conditional assignment or return statements at the end of a chain of if/else if
statements are left unchanged unless a configuration option is supplied.

http://reviews.llvm.org/D8996

Patch by Richard Thomson!

llvm-svn: 237541
2015-05-17 12:31:12 +00:00
..
BracesAroundStatementsCheck.cpp Force braces on the else branch if they are being added to the if branch. 2015-03-31 13:53:03 +00:00
BracesAroundStatementsCheck.h Force braces on the else branch if they are being added to the if branch. 2015-03-31 13:53:03 +00:00
CMakeLists.txt [clang-tidy] Add readability-simplify-boolean-expr check to clang-tidy 2015-04-10 19:26:43 +00:00
ContainerSizeEmptyCheck.cpp [clang-tidy] Remove static StringSet in favor of binary search. 2015-04-17 13:52:08 +00:00
ContainerSizeEmptyCheck.h [clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions 2015-03-09 12:18:39 +00:00
ElseAfterReturnCheck.cpp clang-tidy: [readability-else-after-return] Fix false positive. This 2015-04-27 22:42:20 +00:00
ElseAfterReturnCheck.h [clang-tidy] Fixed header guards using clang-tidy llvm-header-guard check. NFC. 2015-03-09 16:52:33 +00:00
FunctionSizeCheck.cpp [clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions 2015-03-09 12:18:39 +00:00
FunctionSizeCheck.h [clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions 2015-03-09 12:18:39 +00:00
Makefile
NamedParameterCheck.cpp [clang-tidy] Move google-readability-function check to readability-named-parameter. 2015-03-16 22:31:16 +00:00
NamedParameterCheck.h [clang-tidy] Move google-readability-function check to readability-named-parameter. 2015-03-16 22:31:16 +00:00
NamespaceCommentCheck.cpp [clang-tidy] Fix for http://llvm.org/PR23130 2015-04-08 12:54:57 +00:00
NamespaceCommentCheck.h
ReadabilityTidyModule.cpp [clang-tidy] Add readability-simplify-boolean-expr check to clang-tidy 2015-04-10 19:26:43 +00:00
RedundantSmartptrGetCheck.cpp [clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions 2015-03-09 12:18:39 +00:00
RedundantSmartptrGetCheck.h [clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions 2015-03-09 12:18:39 +00:00
RedundantStringCStrCheck.cpp Move remove-cstr-calls from a standalone executable to a clang-tidy check readability-redundant-string-cstr 2015-03-16 00:32:25 +00:00
RedundantStringCStrCheck.h Move remove-cstr-calls from a standalone executable to a clang-tidy check readability-redundant-string-cstr 2015-03-16 00:32:25 +00:00
ShrinkToFitCheck.cpp [clang-tidy] Remove static StringSet in favor of binary search. 2015-04-17 13:52:08 +00:00
ShrinkToFitCheck.h [clang-tidy] Fixed header guards using clang-tidy llvm-header-guard check. NFC. 2015-03-09 16:52:33 +00:00
SimplifyBooleanExprCheck.cpp [clang-tidy] Enhance clang-tidy readability-simplify-boolean-expr check... 2015-05-17 12:31:12 +00:00
SimplifyBooleanExprCheck.h [clang-tidy] Enhance clang-tidy readability-simplify-boolean-expr check... 2015-05-17 12:31:12 +00:00