papermario/.clang-tidy

23 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-10-21 17:51:58 +02:00
Checks: '-*,clang-analyzer-core.*,clang-analyzer-deadcode.*,readability-*,-readability-magic-numbers,-readability-else-after-return,-readability-named-parameter,-readability-braces-around-statements,-readability-isolate-declaration,-readability-uppercase-literal-suffix,-readability-function-size,-readability-non-const-parameter,readability-identifier-naming'
CheckOptions:
# TEMP: this only disabled because mips2c outputs snake_case
2020-12-02 06:00:44 +01:00
#- key: readability-identifier-naming.LocalVariableCase
# value: camelBack
2020-10-21 17:51:58 +02:00
- key: readability-identifier-naming.ParameterCase
value: camelBack
2020-12-02 06:00:44 +01:00
#- key: readability-identifier-naming.TypedefCase
# value: CamelCase
2020-10-21 17:51:58 +02:00
# TODO: rename all unk_XXX members
#- key: readability-identifier-naming.MemberCase
# value: camelBack
# TODO: rename all D_XXXXXXXX symbols
#- key: readability-identifier-naming.GlobalVariableCase
# value: CamelCase
#- key: readability-identifier-naming.GlobalVariablePrefix
# value: g
2021-11-16 09:03:38 +01:00
HeaderFilterRegex: '(src|include)\/[^P].*\.h' # ignore include/PR/