47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
---
|
|
Checks: >
|
|
bugprone-macro-parentheses,
|
|
bugprone-macro-repeated-side-effects,
|
|
modernize-redundant-void-arg,
|
|
modernize-use-bool-literals,
|
|
modernize-use-emplace,
|
|
modernize-use-equals-default,
|
|
modernize-use-equals-delete,
|
|
modernize-use-override,
|
|
performance-trivially-destructible,
|
|
readability-identifier-naming,
|
|
readability-misleading-indentation,
|
|
readability-simplify-boolean-expr,
|
|
readability-braces-around-statements
|
|
WarningsAsErrors: ''
|
|
HeaderFilterRegex: '' # don't show errors from headers
|
|
AnalyzeTemporaryDtors: false
|
|
FormatStyle: none
|
|
User: user
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.TypedefCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.UnionCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.StructCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.UnionCase
|
|
value: CamelCase
|
|
# not yet working, as it currently applies both for static and object members
|
|
# - key: readability-identifier-naming.MemberPrefix
|
|
# value: 'm_'
|
|
# currently only working for local static variables:
|
|
- key: readability-identifier-naming.StaticVariablePrefix
|
|
value: 's_'
|
|
# not yet working
|
|
# - key: readability-identifier-naming.VariableCase
|
|
# value: camelBack
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: camelBack
|
|
...
|
|
|