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.
Change-Id: Id01e06f3ef5e904887a6f0a7ca4f7c617f41b478
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index d1f674c..38d0b25 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -206,7 +206,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: '.*'