clang-tidy: Add modernize checks
These changes improve code readability, maintainability, and
performance by leveraging modern C++ features and best practices.
Tested: Build and unit tests passed successfully.
Change-Id: Ia26044323c8e67feb039868b9bff93069983481b
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index bce8ba2..fa90937 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -267,6 +267,27 @@
misc-unused-alias-decls,
misc-unused-parameters,
misc-unused-using-decls,
+modernize-deprecated-headers,
+modernize-deprecated-ios-base-aliases,
+modernize-loop-convert,
+modernize-make-shared,
+modernize-make-unique,
+modernize-raw-string-literal,
+modernize-redundant-void-arg,
+modernize-replace-auto-ptr,
+modernize-replace-random-shuffle,
+modernize-return-braced-init-list,
+modernize-shrink-to-fit,
+modernize-unary-static-assert,
+modernize-use-bool-literals,
+modernize-use-default-member-init,
+modernize-use-emplace,
+modernize-use-equals-delete,
+modernize-use-noexcept,
+modernize-use-starts-ends-with,
+modernize-use-std-numbers,
+modernize-use-transparent-functors,
+modernize-use-uncaught-exceptions,
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,