Jeff Vander Stoep | 761577d | 2020-10-14 15:21:00 +0200 | [diff] [blame] | 1 | --- |
Joel Galenson | 0b6c763 | 2021-04-01 16:26:10 -0700 | [diff] [blame] | 2 | # Disable abseil-no-namespace: https://bugs.llvm.org/show_bug.cgi?id=47947 |
| 3 | Checks: '-*, |
| 4 | abseil-*, |
| 5 | -abseil-no-namespace, |
| 6 | bugprone-*, |
| 7 | -bugprone-narrowing-conversions, |
| 8 | -bugprone-too-small-loop-variable, |
| 9 | performance-*, |
| 10 | -performance-unnecessary-copy-initialization, |
| 11 | -performance-unnecessary-value-param, |
| 12 | google-*, |
| 13 | -google-runtime-int, |
| 14 | -google-runtime-references, |
| 15 | misc-definitions-in-headers, |
| 16 | misc-static-assert, |
| 17 | misc-unconventional-assign-operator, |
| 18 | misc-uniqueptr-reset-release, |
| 19 | misc-unused-alias-decls, |
| 20 | misc-unused-using-decls, |
| 21 | modernize-make-unique, |
| 22 | -modernize-redundant-void-arg, |
| 23 | modernize-replace-auto-ptr, |
| 24 | modernize-shrink-to-fit, |
| 25 | modernize-use-bool-literals, |
| 26 | modernize-use-nullptr, |
| 27 | modernize-use-override, |
| 28 | readability-container-size-empty, |
| 29 | readability-deleted-default, |
| 30 | readability-function-size, |
| 31 | readability-inconsistent-declaration-parameter-name, |
| 32 | readability-redundant-control-flow, |
| 33 | readability-redundant-smartptr-get, |
| 34 | readability-string-compare' |
| 35 | WarningsAsErrors: '*' |
Jeff Vander Stoep | 761577d | 2020-10-14 15:21:00 +0200 | [diff] [blame] | 36 | CheckOptions: |
| 37 | - key: readability-function-size.StatementThreshold |
| 38 | value: '450' |
Joel Galenson | 0b6c763 | 2021-04-01 16:26:10 -0700 | [diff] [blame] | 39 | - key: modernize-make-unique.MakeSmartPtrFunction |
| 40 | value: 'absl::make_unique' |
| 41 | - key: modernize-make-unique.MakeSmartPtrFunctionHeader |
| 42 | value: 'absl/memory/memory.h' |
| 43 | - key: google-readability-braces-around-statements.ShortStatementLines |
| 44 | value: 1 |