diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-25 21:07:45 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-02-07 19:41:37 +0300 |
commit | dcf2ebc020257bc298d948fcb4da761c284e84d7 (patch) | |
tree | 5e1ee6dc29480f7b26cd39bf9a9bd0d6759bfdaa /.clang-tidy | |
parent | 104f09c95af2b3068e7afd655e4cebcad2bf0617 (diff) | |
download | bmcweb-dcf2ebc020257bc298d948fcb4da761c284e84d7.tar.xz |
Enable readability-redundant-control-flow checks
These checks are a nice addition to our static analysis, as they
simplify code quite a bit, as can be seen by this diff being negative
lines.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I60ede4ad23d7e5337e811d70ddcab24bf8986891
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index ffb6b06fe2..0a7f665751 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -274,6 +274,7 @@ readability-delete-null-pointer, readability-deleted-default, readability-else-after-return, readability-named-parameter, +readability-redundant-control-flow, readability-identifier-naming' WarningsAsErrors: '*' |