| 12345678910111213141516171819202122232425262728293031323334 |
- ---
- # cert-*
- # -cert-dcl50-cpp
- # We use variadic functions
- # -cert-err58-cpp
- # GoogleTest creates instances in static scope in a way that trips this
- # warning for every test.
- # readability-*
- # -readability-else-after-return
- # -readability-implicit-bool-conversion
- # These checks generate a bunch of noise that we're just not religious
- # about.
- # modernize-*
- # -modernize-use-equals-default
- # VS 2015 and Xcode <= 8.2 don't fully support this so we don't use
- # `= default`.
- # -modernize-use-equals-delete
- # GoogleTest generates test classes that use the old idiom of making
- # default constructors and operator= private.
- Checks: 'bugprone-*,cert-*,-cert-dcl50-cpp,-cert-err58-cpp,google-*,objc-*,readability-*,-readability-else-after-return,-readability-implicit-bool-conversion,misc-*,modernize-*,-modernize-use-equals-default,-modernize-use-equals-delete,-modernize-use-trailing-return-type,clang-diagnostic-*,clang-analyzer-*'
- WarningsAsErrors: ''
- HeaderFilterRegex: ''
- CheckOptions:
- - key: readability-braces-around-statements.ShortStatementLines
- value: '1'
- - key: google-readability-braces-around-statements.ShortStatementLines
- value: '1'
- - key: google-readability-function-size.StatementThreshold
- value: '800'
- - key: google-readability-namespace-comments.ShortNamespaceLines
- value: '10'
- - key: google-readability-namespace-comments.SpacesBeforeComments
- value: '2'
- ...
|