.clang-tidy 1.22 KB
Newer Older
Tomáš Pecka's avatar
Tomáš Pecka committed
1 2 3 4 5
---
Checks: "-*,\
bugprone-*,\
-bugprone-macro-parentheses,\
-bugprone-misplaced-widening-cast,\
6
-bugprone-exception-escape,\
Tomáš Pecka's avatar
Tomáš Pecka committed
7 8
clang-analyzer-*,
misc-*,
9
-misc-no-recursion,\
Tomáš Pecka's avatar
Tomáš Pecka committed
10 11 12 13 14 15 16
modernize-*,\
-modernize-deprecated-headers,\
-modernize-return-braced-init-list,\
-modernize-use-auto,\
-modernize-use-noexcept,\
-modernize-use-using,\
-modernize-use-nodiscard,\
17
-modernize-use-trailing-return-type,\
18
-modernize-raw-string-literal,\
Tomáš Pecka's avatar
Tomáš Pecka committed
19 20 21 22 23 24 25
performance-*,\
portability-*,\
readability-*,\
-readability-identifier-naming,\
-readability-named-parameter,\
-readability-braces-around-statements,\
-readability-else-after-return,\
26
-readability-misleading-indentation,\
27
-readability-uppercase-literal-suffix,\
Tomáš Pecka's avatar
Tomáš Pecka committed
28 29
"
WarningsAsErrors: '*'
30
HeaderFilterRegex: '.*/(src)/*'
Tomáš Pecka's avatar
Tomáš Pecka committed
31 32 33 34 35 36 37 38 39 40 41
CheckOptions:
  - key:   modernize-use-default-member-init.UseAssignment
    value: '1'
  - key:   modernize-use-equals-default.IgnoreMacros
    value: '0'
  - key:   readability-function-size.StatementThreshold
    value: '400'
  - key:   readability-function-size.LineThreshold
    value: '500'
  - key:   readability-inconsistent-declaration-parameter-name.Strict
    value: '1'
42 43
  - key:   misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
    value: '1'
Tomáš Pecka's avatar
Tomáš Pecka committed
44
...