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.
Tested: Build and unit tests passed successfully.
Change-Id: I6dd76a66cd3dd76a76b285398ce74311241b5827
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index add6c76..cd8cd0e 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -252,6 +252,21 @@
cppcoreguidelines-virtual-class-destructor,
cppcoreguidelines-slicing,
cppcoreguidelines-special-member-functions,
+misc-coroutine-hostile-raii,
+misc-header-include-cycle,
+misc-misleading-bidirectional,
+misc-misleading-identifier,
+misc-misplaced-const,
+misc-new-delete-overloads,
+misc-non-copyable-objects,
+misc-redundant-expression,
+misc-static-assert,
+misc-throw-by-value-catch-by-reference,
+misc-unconventional-assign-operator,
+misc-uniqueptr-reset-release,
+misc-unused-alias-decls,
+misc-unused-parameters,
+misc-unused-using-decls,
readability-identifier-naming'
WarningsAsErrors: '*'