clang-tidy: Enable readability-qualified-auto check
This check aims to improve code readability by suggesting the use
of const auto * instead of auto for variables that are pointers
or iterators. This helps clarify the const-ness of the pointed-to
object or container elements.
Change-Id: I5fa46006aa5669834ebb144d32014f8882e563e3
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index a5f42b6..fed8f0d 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -255,6 +255,7 @@
readability-misplaced-array-index,
readability-named-parameter,
readability-non-const-parameter,
+readability-qualified-auto,
readability-redundant-access-specifiers,
readability-redundant-function-ptr-dereference,
readability-redundant-member-init,