48 lines
1.9 KiB
YAML
48 lines
1.9 KiB
YAML
---
|
|
Checks: "*,-modernize-use-nodiscard,-llvmlibc-*,-fuchsia-trailing-return,-fuchsia*,-altera-*,-cppcoreguidelines-pro-bounds-constant-array-index,-bugprone-implicit-widening-of-multiplication-result"
|
|
WarningsAsErrors: ""
|
|
HeaderFilterRegex: ""
|
|
AnalyzeTemporaryDtors: false
|
|
FormatStyle: file
|
|
CheckOptions:
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
value: "1"
|
|
- key: hicpp-braces-around-statements.ShortStatementLines
|
|
value: "1"
|
|
- key: bugprone-use-after-move
|
|
value: "1"
|
|
- key: bugprone-assert-side-effect.AssertMacros
|
|
value: assert
|
|
- key: bugprone-suspicious-enum-usage.StrictMode
|
|
value: "0"
|
|
- key: bugprone-unused-return-value.CheckedFunctions
|
|
value: "::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty"
|
|
- key: cert-dcl59-cpp.HeaderFileExtensions
|
|
value: ",h,hh,hpp,hxx"
|
|
- key: cert-err09-cpp.CheckThrowTemporaries
|
|
value: "1"
|
|
- key: cert-err61-cpp.CheckThrowTemporaries
|
|
value: "1"
|
|
- key: cert-msc32-c.DisallowedSeedTypes
|
|
value: "time_t,std::time_t"
|
|
- key: cert-msc51-cpp.DisallowedSeedTypes
|
|
value: "time_t,std::time_t"
|
|
- key: cert-oop11-cpp.IncludeStyle
|
|
value: llvm
|
|
- key: cppcoreguidelines-no-malloc.Allocations
|
|
value: "::malloc;::calloc"
|
|
- key: cppcoreguidelines-no-malloc.Deallocations
|
|
value: "::free"
|
|
- key: cppcoreguidelines-no-malloc.Reallocations
|
|
value: "::realloc"
|
|
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
|
|
value: "0"
|
|
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
|
|
value: "0"
|
|
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
|
|
value: "0"
|
|
- key: hicpp-special-member-functions.AllowMissingMoveFunctions
|
|
value: "0"
|
|
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
|
|
value: "0"
|