Debian Codegraph @

.clang-tidy

raw
1 ---
2 Checks: >
3 -*,
4 abseil-*,
5 altera-*,
6 bugprone-*,
7 cert-*,
8 clang-analyzer*,
9 concurrency-*,
10 cppcoreguidelines*,
11 google-*,
12 hicpp-*,
13 llvm-*,
14 modernize-*,
15 objc-*,
16 openmp-*,
17 performance-*,
18 portability-*,
19 readability-*,
20 -altera-id-dependent-backward-branch,
21 -altera-struct-pack-align,
22 -altera-unroll-loops,
23 -cppcoreguidelines-interfaces-global-init,
24 -bugprone-easily-swappable-parameters,
25 -bugprone-assignment-in-if-condition,
26 -bugprone-branch-clone,
27 -bugprone-macro-parentheses,
28 -cert-dcl16-c,
29 -cert-env33-c,
30 -cert-dcl50-cpp,
31 -clang-analyzer-webkit.NoUncountedMemberChecker,
32 -clang-analyzer-optin.performance.Padding,
33 -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
34 -clang-analyzer-security.VAList,
35 -clang-analyzer-valist.Uninitialized,
36 -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
37 -cppcoreguidelines-owning-memory,
38 -cppcoreguidelines-avoid-c-arrays,
39 -cppcoreguidelines-avoid-do-while,
40 -cppcoreguidelines-avoid-magic-numbers,
41 -cppcoreguidelines-avoid-non-const-global-variables,
42 -cppcoreguidelines-macro-to-enum,
43 -cppcoreguidelines-macro-usage,
44 -cppcoreguidelines-pro-type-vararg,
45 -cppcoreguidelines-pro-type-reinterpret-cast,
46 -cppcoreguidelines-pro-bounds-pointer-arithmetic,
47 -cppcoreguidelines-no-malloc,
48 -cppcoreguidelines-use-enum-class,
49 -google-readability-braces-around-statements,
50 -google-readability-todo,
51 -hicpp-avoid-c-arrays,
52 -hicpp-braces-around-statements,
53 -hicpp-no-array-decay,
54 -hicpp-no-assembler,
55 -hicpp-multiway-paths-covered,
56 -hicpp-signed-bitwise,
57 -hicpp-uppercase-literal-suffix,
58 -hicpp-vararg,
59 -hicpp-no-malloc,
60 -llvm-use-ranges,
61 -llvm-header-guard,
62 -llvm-include-order,
63 -llvm-qualified-auto,
64 -llvm-else-after-return,
65 -readability-else-after-return,
66 -readability-avoid-nested-conditional-operator,
67 -modernize-use-using,
68 -modernize-avoid-variadic-functions,
69 -modernize-use-trailing-return-type,
70 -modernize-return-braced-init-list,
71 -modernize-macro-to-enum,
72 -modernize-pass-by-value,
73 -modernize-avoid-c-arrays,
74 -readability-use-anyofallof,
75 -readability-braces-around-statements,
76 -readability-convert-member-functions-to-static,
77 -readability-function-cognitive-complexity,
78 -readability-identifier-length,
79 -readability-implicit-bool-conversion,
80 -readability-magic-numbers,
81 -readability-math-missing-parentheses,
82 -readability-misleading-indentation,
83 -readability-qualified-auto,
84 -readability-redundant-parentheses,
85 -readability-suspicious-call-argument,
86 -readability-string-compare,
87 -readability-uppercase-literal-suffix,
88 -readability-use-concise-preprocessor-directives,
89 -performance-no-int-to-ptr,
90 -performance-enum-size,
91 -performance-avoid-endl,
92 -portability-avoid-pragma-once
93 WarningsAsErrors: ''
94 HeaderFilterRegex: ''
95 FormatStyle: file
96 User: nin
97 CheckOptions:
98 - key: readability-implicit-bool-conversion.AllowIntegerConditions
99 value: 'true'
100 - key: llvm-else-after-return.WarnOnConditionVariables
101 value: 'false'
102 - key: modernize-loop-convert.MinConfidence
103 value: reasonable
104 - key: modernize-replace-auto-ptr.IncludeStyle
105 value: llvm
106 - key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
107 value: 'false'
108 - key: google-readability-namespace-comments.ShortNamespaceLines
109 value: '10'
110 - key: cert-err33-c.CheckedFunctions
111 value: '::aligned_alloc;::asctime_s;::at_quick_exit;::atexit;::bsearch;::bsearch_s;::btowc;::c16rtomb;::c32rtomb;::calloc;::clock;::cnd_broadcast;::cnd_init;::cnd_signal;::cnd_timedwait;::cnd_wait;::ctime_s;::fclose;::fflush;::fgetc;::fgetpos;::fgets;::fgetwc;::fopen;::fopen_s;::fprintf;::fprintf_s;::fputc;::fputs;::fputwc;::fputws;::fread;::freopen;::freopen_s;::fscanf;::fscanf_s;::fseek;::fsetpos;::ftell;::fwprintf;::fwprintf_s;::fwrite;::fwscanf;::fwscanf_s;::getc;::getchar;::getenv;::getenv_s;::gets_s;::getwc;::getwchar;::gmtime;::gmtime_s;::localtime;::localtime_s;::malloc;::mbrtoc16;::mbrtoc32;::mbsrtowcs;::mbsrtowcs_s;::mbstowcs;::mbstowcs_s;::memchr;::mktime;::mtx_init;::mtx_lock;::mtx_timedlock;::mtx_trylock;::mtx_unlock;::printf_s;::putc;::putwc;::raise;::realloc;::remove;::rename;::scanf;::scanf_s;::setlocale;::setvbuf;::signal;::snprintf;::snprintf_s;::sprintf;::sprintf_s;::sscanf;::sscanf_s;::strchr;::strerror_s;::strftime;::strpbrk;::strrchr;::strstr;::strtod;::strtof;::strtoimax;::strtok;::strtok_s;::strtol;::strtold;::strtoll;::strtoul;::strtoull;::strtoumax;::strxfrm;::swprintf;::swprintf_s;::swscanf;::swscanf_s;::thrd_create;::thrd_detach;::thrd_join;::thrd_sleep;::time;::timespec_get;::tmpfile;::tmpfile_s;::tmpnam;::tmpnam_s;::tss_create;::tss_get;::tss_set;::ungetc;::ungetwc;::vfprintf;::vfprintf_s;::vfscanf;::vfscanf_s;::vfwprintf;::vfwprintf_s;::vfwscanf;::vfwscanf_s;::vprintf_s;::vscanf;::vscanf_s;::vsnprintf;::vsnprintf_s;::vsprintf;::vsprintf_s;::vsscanf;::vsscanf_s;::vswprintf;::vswprintf_s;::vswscanf;::vswscanf_s;::vwprintf_s;::vwscanf;::vwscanf_s;::wcrtomb;::wcschr;::wcsftime;::wcspbrk;::wcsrchr;::wcsrtombs;::wcsrtombs_s;::wcsstr;::wcstod;::wcstof;::wcstoimax;::wcstok;::wcstok_s;::wcstol;::wcstold;::wcstoll;::wcstombs;::wcstombs_s;::wcstoul;::wcstoull;::wcstoumax;::wcsxfrm;::wctob;::wctrans;::wctype;::wmemchr;::wprintf_s;::wscanf;::wscanf_s;'
112 - key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
113 value: 'false'
114 - key: cert-dcl16-c.NewSuffixes
115 value: 'L;LL;LU;LLU'
116 - key: google-readability-braces-around-statements.ShortStatementLines
117 value: '1'
118 - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
119 value: 'true'
120 - key: google-readability-namespace-comments.SpacesBeforeComments
121 value: '2'
122 - key: modernize-loop-convert.MaxCopySize
123 value: '16'
124 - key: modernize-pass-by-value.IncludeStyle
125 value: llvm
126 - key: modernize-use-nullptr.NullMacros
127 value: 'NULL'
128 - key: llvm-qualified-auto.AddConstToQualified
129 value: 'false'
130 - key: modernize-loop-convert.NamingStyle
131 value: CamelCase
132 - key: llvm-else-after-return.WarnOnUnfixable
133 value: 'false'
134 - key: google-readability-function-size.StatementThreshold
135 value: '800'
136 ...
137
138