clang-tidy: Enable readability-redundant-smartptr-get check
This check finds and removes redundant calls to smart pointer’s
.get() method.
Change-Id: I0cc34b41fb118a93673e36cd684b67e147ab914a
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index 51ee20b..24f78f0 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -246,6 +246,7 @@
readability-redundant-function-ptr-dereference,
readability-redundant-member-init,
readability-redundant-preprocessor,
+readability-redundant-smartptr-get,
readability-simplify-subscript-expr,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,