summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2020-12-17 19:54:55 +0300
committerEd Tanous <ed@tanous.net>2020-12-18 23:21:35 +0300
commit81ce609e30274435b4f8c3fc65340c6b6b153b0c (patch)
treef07c0bb8f950f81adc853845e009d9d40e254468 /.clang-tidy
parentf16f62633a64f386fd0382703ff0949ea177f457 (diff)
downloadbmcweb-81ce609e30274435b4f8c3fc65340c6b6b153b0c.tar.xz
Fix .clang-tidy
camelLower is not a type, camelBack is. Changes were made automatically with clang-tidy --fix-errors To be able to apply changes automatically, the only way I've found that works was to build the version of clang/clang-tidy that yocto has, and run the fix script within bitbake -c devshell bmcweb. Unfortunately, yocto has clang-tidy 11, which can apparently find a couple extra errors in tests we already had enabled. As such, a couple of those are also included. Tested: Ran clang-tidy-11 and got a clean result. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I9d1080b67f0342229c2f267160849445c065ca51
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 1dc6a0c0f1..3b34c55254 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -247,7 +247,7 @@ CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.VariableCase, value: camelBack }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- - { key: readability-identifier-naming.ParameterCase, value: lowerCamel }
+ - { key: readability-identifier-naming.ParameterCase, value: camelBack }
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.StructCase, value: CamelCase }