forked from darktable-org/rawspeed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
54 lines (54 loc) · 4.42 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
Checks: '*,-clang-analyzer-*,-clang-diagnostic-*,-cert-dcl50-cpp,-cert-env33-c,-cert-err58-cpp,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-google-default-arguments,-google-readability-todo,-hicpp-member-init,-hicpp-special-member-functions,-llvm-header-guard,-llvm-include-order,-misc-unused-parameters,-readability-implicit-bool-cast,-readability-inconsistent-declaration-parameter-name,-android-*,-hicpp-braces-around-statements,-hicpp-function-size,-google-readability-braces-around-statements,-google-readability-function-size,-readability-implicit-bool-conversion,-hicpp-signed-bitwise,-hicpp-no-array-decay,-hicpp-vararg,-hicpp-multiway-paths-covered,-cppcoreguidelines-owning-memory,-fuchsia-*,-llvmlibc-*,-portability-simd-intrinsics,-bugprone-narrowing-conversions,-cppcoreguidelines-narrowing-conversions,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-misc-non-private-member-variables-in-classes,-cppcoreguidelines-non-private-member-variables-in-classes,-modernize-use-trailing-return-type,-cppcoreguidelines-init-variables,-bugprone-signed-char-misuse,-cert-str34-c,-cert-dcl37-c,-cert-dcl51-cpp,-misc-no-recursion,-cppcoreguidelines-avoid-non-const-global-variables,-abseil-string-find-str-contains,-altera-struct-pack-align,-google-runtime-references,-altera-unroll-loops,-altera-id-dependent-backward-branch,-bugprone-implicit-widening-of-multiplication-result,-bugprone-easily-swappable-parameters'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
User: lebedevri
CheckOptions:
- key: bugprone-reserved-identifier.AllowedIdentifiers
value: '_GLIBCXX_SANITIZE_VECTOR'
- key: google-runtime-int.UnsignedTypePrefix
value: 'uint'
- key: google-runtime-int.SignedTypePrefix
value: 'int'
- key: google-runtime-int.TypeSuffix
value: '_t'
- key: readability-braces-around-statements.ShortStatementLines
value: '3'
- key: readability-function-size.BranchThreshold
value: '26'
- key: readability-function-size.LineThreshold
value: '152'
- key: readability-function-size.StatementThreshold
value: '125'
- key: readability-function-size.ParameterThreshold
value: '6'
- key: readability-function-size.NestingThreshold
value: '7'
- key: readability-function-size.VariableThreshold
value: '31'
- key: readability-function-cognitive-complexity.Threshold
value: '87'
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment
value: '1'
- key: readability-simplify-boolean-expr.ChainedConditionalReturn
value: '1'
- key: performance-for-range-copy.WarnOnAllAutoCopies
value: '1'
- key: google-build-namespaces.HeaderFileExtensions
value: 'h,hh,hpp,hxx,'
- key: google-global-names-in-headers.HeaderFileExtensions
value: 'h,hh,hpp,hxx,'
- key: misc-definitions-in-headers.HeaderFileExtensions
value: 'h,hh,hpp,hxx,'
- key: misc-definitions-in-headers.UseHeaderFileExtension
value: '1'
- key: modernize-use-auto.MinTypeNameLength
value: '0'
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: modernize-use-default-member-init.UseAssignment
value: 1
- key: cppcoreguidelines-macro-usage.AllowedRegexp
value: 'DEBUG|_GLIBCXX_SANITIZE_VECTOR|RAWSPEED_SOURCE_DIR|STR|XSTR|BSWAP16|BSWAP32|BSWAP64|ThrowExceptionHelper|ThrowIOE|ThrowIPE|ThrowRSE|ThrowCME|ThrowRDE|ThrowRPE|ThrowTPE|ThrowFIE|ThrowCPE|ThrowFPE|DECODER|fuji_quant_gradient|JPEG_MEMSRC|RLVTABLE|PRECISION_MIN|PRECISION_MAX|MARKER_BAND_END|SQR|RS_CAMERAS_XML_PATH|FULLDECODE|IMPL|IMPL0|IMPL1|PUMP|DECODE|PARSER|GEN_E|GEN_PFS|GEN_PSS|BENCHMARK_CAPTURE_NAME|OMPFIRSTPRIVATECLAUSE|OMPSHAREDCLAUSE|RAWSPEED_UNLIKELY_FUNCTION|RAWSPEED_NOINLINE'
...