xref: /fuchsia/.clang-tidy (revision 6fcfa200)
1---
2Checks: >
3  -*,
4  bugprone-*,
5
6  clang-diagnostic-*,
7  -clang-diagnostic-unused-command-line-argument,
8
9  google-*,
10  -google-runtime-references,
11
12  misc-*,
13  -misc-noexcept*,
14  -misc-unused-parameters,
15
16  modernize-*,
17  -modernize-avoid-c-arrays,
18  -modernize-deprecated-headers,
19  -modernize-raw-string-literal,
20  -modernize-return-braced-init-list,
21  -modernize-use-auto,
22  -modernize-use-equals-delete,
23  -modernize-use-nodiscard,
24  -modernize-use-trailing-return-type,
25
26  performance-*,
27  readability-*,
28  -readability-function-cognitive-complexity,
29  -readability-identifier-length,
30  -readability-implicit-bool-conversion,
31  -readability-isolate-declaration,
32  -readability-magic-numbers,
33  -readability-qualified-auto,
34  -readability-uppercase-literal-suffix,
35  -readability-identifier-length,
36  -readability-named-parameter,
37
38WarningsAsErrors: false
39AnalyzeTemporaryDtors: false
40FormatStyle:     file
41CheckOptions:
42  - key:             bugprone-assert-side-effect.AssertMacros
43    value:           'FXL_DCHECK'
44  - key:             google-readability-braces-around-statements.ShortStatementLines
45    value:           '2'
46  - key:             google-readability-function-size.StatementThreshold
47    value:           '800'
48  - key:             google-readability-namespace-comments.ShortNamespaceLines
49    value:           '10'
50  - key:             google-readability-namespace-comments.SpacesBeforeComments
51    value:           '2'
52  - key:             misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
53    value:           '1'
54  - key:             modernize-loop-convert.MaxCopySize
55    value:           '16'
56  - key:             modernize-loop-convert.MinConfidence
57    value:           reasonable
58  - key:             modernize-loop-convert.NamingStyle
59    value:           CamelCase
60  - key:             modernize-pass-by-value.IncludeStyle
61    value:           llvm
62  - key:             modernize-replace-auto-ptr.IncludeStyle
63    value:           llvm
64  - key:             modernize-use-default-member-init.UseAssignment
65    value:           '1'
66  - key:             modernize-use-emplace.IgnoreImplicitConstructors
67    value:           '1'
68  - key:             modernize-use-nullptr.NullMacros
69    value:           'NULL'
70  - key:             readability-braces-around-statements.ShortStatementLines
71    value:           '2'
72...
73