From dcf2ebc020257bc298d948fcb4da761c284e84d7 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 25 Jan 2022 10:07:45 -0800 Subject: 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 Change-Id: I60ede4ad23d7e5337e811d70ddcab24bf8986891 --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) (limited to '.clang-tidy') 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: '*' -- cgit v1.2.3