clang-tidy: clang-tidy: Add few misc checks
Checks that encompass various miscellaneous guidelines and rules
that don't fall into more specific categories like readability,
performance, or correctness. These checks often focus on code
quality, stylistic preferences, or potential pitfalls that are
not covered by other specific checks.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I4074c495a61e0804ed375e402756ac84abdfc598
diff --git a/.clang-tidy b/.clang-tidy
index 1f35090..5cb5e43 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -203,7 +203,14 @@
cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-pro-type-union-access,
cppcoreguidelines-slicing,
-cppcoreguidelines-special-member-functions'
+cppcoreguidelines-special-member-functions,
+misc-misplaced-const,
+misc-redundant-expression,
+misc-static-assert,
+misc-throw-by-value-catch-by-reference,
+misc-unconventional-assign-operator,
+misc-uniqueptr-reset-release,
+misc-unused-using-decls'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'