-
Notifications
You must be signed in to change notification settings - Fork 29
/
.clang-tidy
24 lines (24 loc) · 1.33 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
Checks: '-*,clang-diagnostic-*,clang-analyzer-*,bugprone-*,-bugprone-exception-escape,concurrency-*,performance-*,-macro*,readability-identifier-naming'
WarningsAsErrors: '*'
HeaderFilterRegex: './src/.*'
AnalyzeTemporaryDtors: false
FormatStyle: 'file'
# HeaderFileExtensions:
# - h
# - hpp
# ImplementationFileExtensions:
# - cpp
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ }
- { key: readability-identifier-naming.StructCase, value: lower_case }
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.GlobalConstantCase, value: lower_case }
- { key: readability-identifier-naming.StaticVariablePrefix, value: s_ }
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
- { key: readability-identifier-naming.TypeTemplateParameterCase, value: CamelCase }
- { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }
# - { key: readability-identifier-naming.TypeAliasCase, value: lower_case }