.clang-tidy
Checks: >
google-*,
-*,
modernize-*,
clang-analyzer-*,
performance-*,
readability-*,
-readability-magic-numbers,
-modernize-use-trailing-return-type,
-modernize-pass-by-value
CheckOptions:
- key: readability-magic-numbers
value: '0'
- key: modernize-use-trailing-return-type
value: '0'
- key: modernize-pass-by-value
value: '0'
- key: readability-braces-around-statements.ShortStatementLines
value: '1'
- key: readability-function-size.BranchThreshold
value: '4294967295'
- key: readability-function-size.LineThreshold
value: '4294967295'
- key: readability-function-size.ParameterThreshold
value: '4294967295'
- key: readability-function-size.NestingThreshold
value: '4294967295'
- key: readability-function-size.VariableThreshold
value: '4294967295'
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
FormatStyle: 'google'
参考资料:官方文档
中文资料