clang-tidy: Enable readability checks on repo
The readability-* checks in Clang-Tidy focus on improving code
readability by enforcing guidelines and suggesting improvements
that can enhance the clarity and maintainability of C++ code.
Tested: Build and unit tests passed successfully.
Change-Id: Icf996f860bc763e0aebd095d8f50c67813e2395e
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index e2aca6c..c36a725 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -283,7 +283,39 @@
performance-trivially-destructible,
performance-type-promotion-in-math-fn,
performance-unnecessary-copy-initialization,
-readability-identifier-naming'
+readability-avoid-const-params-in-decls,
+readability-avoid-nested-conditional-operator,
+readability-avoid-return-with-void-value,
+readability-avoid-unconditional-preprocessor-if,
+readability-braces-around-statements,
+readability-const-return-type,
+readability-container-contains,
+readability-container-data-pointer,
+readability-delete-null-pointer,
+readability-duplicate-include,
+readability-deleted-default,
+readability-function-size,
+readability-identifier-naming,
+readability-isolate-declaration,
+readability-misleading-indentation,
+readability-misplaced-array-index,
+readability-operators-representation,
+readability-non-const-parameter,
+readability-redundant-access-specifiers,
+readability-redundant-casting,
+readability-redundant-declaration,
+readability-redundant-function-ptr-dereference,
+readability-redundant-member-init,
+readability-redundant-preprocessor,
+readability-redundant-smartptr-get,
+readability-redundant-string-init,
+readability-reference-to-constructed-temporary,
+readability-simplify-subscript-expr,
+readability-static-definition-in-anonymous-namespace,
+readability-string-compare,
+readability-suspicious-call-argument,
+readability-uniqueptr-delete-release,
+readability-uppercase-literal-suffix'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'