summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-25 22:04:33 +0300
committerEd Tanous <ed@tanous.net>2022-02-15 04:13:25 +0300
commit71d5d8dbf54dace8a559e593a2bc6011b7261af5 (patch)
tree2aac5ddb2a5761c62df9e01d1fe92db929a556f8 /.clang-tidy
parente662eae819f545ef07193f216b42e161b7ff7a46 (diff)
downloadbmcweb-71d5d8dbf54dace8a559e593a2bc6011b7261af5.tar.xz
readability-static-accessed-through-instance
We access std::string::npos through member variables in a couple places. Fix it. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I587f89e1580661aa311dfe4e06591ab38806e241
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 9958891b15..b4e75eea4e 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -285,6 +285,7 @@ readability-redundant-preprocessor,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
+readability-static-accessed-through-instance,
readability-identifier-naming'
WarningsAsErrors: '*'