2024-01-23 16:40:13 +03:00
|
|
|
---
|
2024-02-04 18:14:31 +03:00
|
|
|
Checks: >
|
|
|
|
-*,
|
|
|
|
abseil-*,
|
|
|
|
altera-*,
|
|
|
|
boost-*,
|
|
|
|
bugprone-*,
|
|
|
|
cert-*,
|
|
|
|
clang-analyzer*,
|
|
|
|
concurrency-*,
|
|
|
|
cppcoreguidelines*,
|
|
|
|
google-*,
|
|
|
|
hicpp-*,
|
|
|
|
llvm-*,
|
|
|
|
modernize-*,
|
|
|
|
objc-*,
|
|
|
|
openmp-*,
|
|
|
|
performance-*,
|
|
|
|
portability-*,
|
|
|
|
readability-*,
|
|
|
|
-altera-id-dependent-backward-branch,
|
|
|
|
-altera-struct-pack-align,
|
|
|
|
-altera-unroll-loops,
|
2024-09-06 10:22:28 +03:00
|
|
|
-cppcoreguidelines-interfaces-global-init,
|
2024-02-13 19:45:03 +03:00
|
|
|
-bugprone-easily-swappable-parameters,
|
2024-08-27 15:03:39 +03:00
|
|
|
-bugprone-assignment-in-if-condition,
|
2024-09-05 09:43:20 +03:00
|
|
|
-bugprone-macro-parentheses,
|
2024-02-04 18:14:31 +03:00
|
|
|
-cert-dcl16-c,
|
|
|
|
-cert-env33-c,
|
2024-09-04 23:20:59 +03:00
|
|
|
-cert-dcl50-cpp,
|
2024-09-13 13:59:35 +03:00
|
|
|
-clang-analyzer-optin.performance.Padding,
|
2024-02-04 18:14:31 +03:00
|
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
2024-08-29 11:38:26 +03:00
|
|
|
-clang-analyzer-valist.Uninitialized,
|
2024-08-27 15:03:39 +03:00
|
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
|
|
-cppcoreguidelines-owning-memory,
|
2024-09-17 11:46:21 +03:00
|
|
|
-cppcoreguidelines-avoid-c-arrays,
|
2024-08-27 15:03:39 +03:00
|
|
|
-cppcoreguidelines-avoid-do-while,
|
2024-02-04 18:14:31 +03:00
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
|
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
2024-09-03 13:53:50 +03:00
|
|
|
-cppcoreguidelines-macro-to-enum,
|
2024-08-27 15:03:39 +03:00
|
|
|
-cppcoreguidelines-pro-type-vararg,
|
2024-09-17 12:38:29 +03:00
|
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
2024-09-09 18:42:15 +03:00
|
|
|
-cppcoreguidelines-no-malloc,
|
2024-02-04 18:14:31 +03:00
|
|
|
-google-readability-braces-around-statements,
|
2024-08-29 15:40:49 +03:00
|
|
|
-google-readability-todo,
|
2024-09-17 13:57:59 +03:00
|
|
|
-hicpp-avoid-c-arrays,
|
2024-02-04 18:14:31 +03:00
|
|
|
-hicpp-braces-around-statements,
|
2024-08-27 15:03:39 +03:00
|
|
|
-hicpp-no-array-decay,
|
2024-09-11 23:52:24 +03:00
|
|
|
-hicpp-no-assembler,
|
2024-02-04 18:14:31 +03:00
|
|
|
-hicpp-multiway-paths-covered,
|
|
|
|
-hicpp-signed-bitwise,
|
|
|
|
-hicpp-uppercase-literal-suffix,
|
2024-08-27 15:03:39 +03:00
|
|
|
-hicpp-vararg,
|
2024-09-09 18:42:15 +03:00
|
|
|
-hicpp-no-malloc,
|
2024-02-04 18:14:31 +03:00
|
|
|
-llvm-header-guard,
|
|
|
|
-llvm-include-order,
|
|
|
|
-llvm-qualified-auto,
|
2024-08-27 15:03:39 +03:00
|
|
|
-llvm-else-after-return,
|
|
|
|
-readability-else-after-return,
|
2024-02-04 18:14:31 +03:00
|
|
|
-modernize-use-trailing-return-type,
|
2024-09-03 18:40:20 +03:00
|
|
|
-modernize-return-braced-init-list,
|
2024-08-27 15:03:39 +03:00
|
|
|
-modernize-macro-to-enum,
|
2024-09-17 11:46:21 +03:00
|
|
|
-modernize-pass-by-value,
|
2024-02-04 18:14:31 +03:00
|
|
|
-readability-braces-around-statements,
|
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
-readability-identifier-length,
|
2024-08-27 15:03:39 +03:00
|
|
|
-readability-implicit-bool-conversion,
|
2024-02-04 18:14:31 +03:00
|
|
|
-readability-magic-numbers,
|
|
|
|
-readability-qualified-auto,
|
2024-09-12 01:27:33 +03:00
|
|
|
-readability-suspicious-call-argument,
|
2024-02-15 11:05:16 +03:00
|
|
|
-readability-uppercase-literal-suffix,
|
2024-09-10 15:41:18 +03:00
|
|
|
-performance-no-int-to-ptr,
|
|
|
|
-performance-avoid-endl
|
2024-01-23 16:40:13 +03:00
|
|
|
WarningsAsErrors: ''
|
|
|
|
HeaderFilterRegex: ''
|
|
|
|
FormatStyle: file
|
|
|
|
User: nin
|
|
|
|
CheckOptions:
|
2024-03-09 11:30:49 +03:00
|
|
|
- key: readability-implicit-bool-conversion.AllowIntegerConditions
|
|
|
|
value: 'true'
|
2024-01-23 16:40:13 +03:00
|
|
|
- key: llvm-else-after-return.WarnOnConditionVariables
|
|
|
|
value: 'false'
|
|
|
|
- key: modernize-loop-convert.MinConfidence
|
|
|
|
value: reasonable
|
|
|
|
- key: modernize-replace-auto-ptr.IncludeStyle
|
|
|
|
value: llvm
|
|
|
|
- key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
|
|
|
|
value: 'false'
|
|
|
|
- key: google-readability-namespace-comments.ShortNamespaceLines
|
|
|
|
value: '10'
|
|
|
|
- key: cert-err33-c.CheckedFunctions
|
|
|
|
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;'
|
|
|
|
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
|
|
|
|
value: 'false'
|
|
|
|
- key: cert-dcl16-c.NewSuffixes
|
|
|
|
value: 'L;LL;LU;LLU'
|
|
|
|
- key: google-readability-braces-around-statements.ShortStatementLines
|
|
|
|
value: '1'
|
|
|
|
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
|
|
|
value: 'true'
|
|
|
|
- key: google-readability-namespace-comments.SpacesBeforeComments
|
|
|
|
value: '2'
|
|
|
|
- key: modernize-loop-convert.MaxCopySize
|
|
|
|
value: '16'
|
|
|
|
- key: modernize-pass-by-value.IncludeStyle
|
|
|
|
value: llvm
|
|
|
|
- key: modernize-use-nullptr.NullMacros
|
|
|
|
value: 'NULL'
|
|
|
|
- key: llvm-qualified-auto.AddConstToQualified
|
|
|
|
value: 'false'
|
|
|
|
- key: modernize-loop-convert.NamingStyle
|
|
|
|
value: CamelCase
|
|
|
|
- key: llvm-else-after-return.WarnOnUnfixable
|
|
|
|
value: 'false'
|
|
|
|
- key: google-readability-function-size.StatementThreshold
|
|
|
|
value: '800'
|
|
|
|
...
|
|
|
|
|
|
|
|
|