blob: 062455a017fb05067c555a037e60c44544f586fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
HeaderFilterRegex: '.*'
WarningsAsErrors: '*'
# Available checks:
# https://clang.llvm.org/extra/clang-tidy/index.html#using-clang-tidy
# https://clang.llvm.org/extra/clang-tidy/checks/list.html
#
# List all checks:
# clang-tidy --checks="*" --list-checks
#
# Excuse all lints for a line inside the source code:
# some code; // NOLINT
#
# // NOLINTNEXTLINE
# some code;
#
# Excuse a single lint for a line inside the source code:
# some code; // NOLINT(bugprone-macro-parentheses)
#
# // NOLINTNEXTLINE(bugprone-macro-parentheses)
# some code;
Checks: >
-*,
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 }
|