forked from darktable-org/rawspeed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
46 lines (46 loc) · 3.63 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
---
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,-google-runtime-int,-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-*,-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,'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
User: lebedevri
CheckOptions:
- key: readability-braces-around-statements.ShortStatementLines
value: '3'
- key: readability-function-size.BranchThreshold
value: '26'
- key: readability-function-size.LineThreshold
value: '156'
- key: readability-function-size.StatementThreshold
value: '125'
- key: readability-function-size.ParameterThreshold
value: '6'
- key: readability-function-size.NestingThreshold
value: '6'
- key: readability-function-size.VariableThreshold
value: '30'
- 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: google-runtime-references.WhiteListTypes
value: 'benchmark::State'
- key: modernize-use-default-member-init.UseAssignment
value: 1
- key: cppcoreguidelines-macro-usage.AllowedRegexp
value: 'DEBUG|_GLIBCXX_SANITIZE_VECTOR|RAWSPEED_SOURCE_DIR|STR|XSTR|BUFFER_PADDING|BSWAP16|BSWAP32|BSWAP64|ThrowExceptionHelper|ThrowIOE|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'
...