clang-tidy: Add some modernize and misc checks
This commit adds some modernize tidy checks to enable usage of
modern way of using c++ styles.
Change-Id: I815210abe304f3224f29ac90845788d415945ceb
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index cf982ae..166b63d 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -140,7 +140,24 @@
clang-analyzer-valist.Unterminated,
clang-analyzer-valist.ValistBase,
clang-analyzer-webkit.NoUncountedMemberChecker,
-clang-analyzer-webkit.RefCntblBaseVirtualDtor'
+clang-analyzer-webkit.RefCntblBaseVirtualDtor,
+misc-misplaced-const,
+misc-redundant-expression,
+misc-static-assert,
+misc-throw-by-value-catch-by-reference,
+misc-unconventional-assign-operator,
+misc-uniqueptr-reset-release,
+modernize-deprecated-ios-base-aliases,
+modernize-make-shared,
+modernize-make-unique,
+modernize-replace-auto-ptr,
+modernize-replace-random-shuffle,
+modernize-shrink-to-fit,
+modernize-unary-static-assert,
+modernize-use-equals-delete,
+modernize-use-noexcept,
+modernize-use-transparent-functors,
+modernize-use-uncaught-exceptions'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'