summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-04-11 00:50:57 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-04-11 00:50:57 +0200
commit9f94e8c8e80623372b450352f7a24dc8623f4712 (patch)
tree94c24a34728ef2548a9030d10ba6a6f157d69a68 /.clang-tidy
parent2b13efa7b78ab2bb08cba52e09b1f12af1701fd9 (diff)
downloadcpp-templates-9f94e8c8e80623372b450352f7a24dc8623f4712.tar.gz
cpp-templates-9f94e8c8e80623372b450352f7a24dc8623f4712.zip
concepts: iter example, test out syntax
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy6
1 files changed, 5 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index fa33f96..062455a 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -21,13 +21,17 @@ WarningsAsErrors: '*'
# some code;
Checks: >
-*,
- readability-*,
+ readability-identifier-naming*,
# readability-identifier-naming.* options:
# https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html
CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: lower_case }
+ - { key: readability-identifier-naming.ConceptCase, value: CamelCase }
- { key: readability-identifier-naming.MemberCase, value: lower_case }
- { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
- { key: readability-identifier-naming.TypeAliasCase, value: lower_case }
+
+ # https://github.com/llvm/llvm-project/issues/46097
+ - { key: readability-identifier-naming.TypeTemplateParameterIgnoredRegexp, value: expr-type }