clang-tidy: Enable readability-simplify-boolean-expr check
This check looks for boolean expressions involving boolean
constants and simplifies them to use the appropriate boolean
expression directly.
Change-Id: I79d7e4486bd0ea5f5b9b5a1644af99384e41e251
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index 24f78f0..1dec9a7 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -247,6 +247,7 @@
readability-redundant-member-init,
readability-redundant-preprocessor,
readability-redundant-smartptr-get,
+readability-simplify-boolean-expr,
readability-simplify-subscript-expr,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,