summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 12:34:05 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:41:50 +0200
commitab9ff1405f9dd27addb6106e6d6e3ea45c730cc4 (patch)
treeb7f2c3787752fb16f73b16e9e3343d2bf5e59d0f /.clang-tidy
parent6f03f36201fa79f3802f3235779ec5a451287e21 (diff)
downloadjustbuild-ab9ff1405f9dd27addb6106e6d6e3ea45c730cc4.tar.gz
Name constexpr variables using kCamelCase.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 5fe6d074..949174ae 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -54,5 +54,7 @@ CheckOptions:
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.TypeTemplateParameterCase, value: CamelCase }
+ - { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase }
+ - { key: readability-identifier-naming.ConstexprVariablePrefix, value: k }
- { key: readability-identifier-naming.StaticConstantCase, value: CamelCase }
- { key: readability-identifier-naming.StaticConstantPrefix, value: k }