|
@@ -22,17 +22,17 @@
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-Checks: '*,-cert-env33-c,-cert-dcl50-cpp,-cert-dcl59-cpp,-cert-err58-cpp,-cppcoreguidelines-no-malloc,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-cstyle-cast,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-static-cast-downcast,-google-*,google-default-arguments,google-explicit-constructor,google-runtime-member-string-references,google-runtime-memset,google-runtime-operator,-hicpp-named-parameter,-hicpp-no-assembler,-hicpp-function-size,-hicpp-special-member-functions,-llvm-*,-readability-else-after-return,-readability-implicit-bool-cast,-readability-named-parameter,-readability-simplify-boolean-expr,-readability-braces-around-statements,-readability-identifier-naming,-readability-function-size,-readability-redundant-member-init,-misc-bool-pointer-implicit-conversion,-misc-definitions-in-headers,-misc-unused-alias-decls,-misc-unused-parameters,-misc-unused-using-decls,-modernize-use-default-member-init,-modernize-use-using,-modernize-raw-string-literal,-clang-diagnostic-*,-clang-analyzer-*'
|
|
|
|
|
|
|
+Checks: '*,-cert-env33-c,-cert-dcl50-cpp,-cert-dcl59-cpp,-cert-err58-cpp,-cppcoreguidelines-no-malloc,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-cstyle-cast,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-static-cast-downcast,-google-*,google-default-arguments,google-explicit-constructor,google-runtime-member-string-references,google-runtime-memset,google-runtime-operator,-hicpp-named-parameter,-hicpp-no-assembler,-hicpp-function-size,-hicpp-special-member-functions,-llvm-*,-readability-else-after-return,-readability-implicit-bool-cast,-readability-named-parameter,-readability-simplify-boolean-expr,-readability-braces-around-statements,-readability-identifier-naming,-readability-function-size,-readability-redundant-member-init,-readability-redundant-declaration,-misc-bool-pointer-implicit-conversion,-misc-definitions-in-headers,-misc-unused-alias-decls,-misc-unused-parameters,-misc-unused-using-decls,-modernize-use-default-member-init,-modernize-use-using,-modernize-raw-string-literal,-clang-diagnostic-*,-clang-analyzer-*'
|
|
|
WarningsAsErrors: ''
|
|
WarningsAsErrors: ''
|
|
|
HeaderFilterRegex: '/(?!ThirdParty)/'
|
|
HeaderFilterRegex: '/(?!ThirdParty)/'
|
|
|
AnalyzeTemporaryDtors: false
|
|
AnalyzeTemporaryDtors: false
|
|
|
CheckOptions:
|
|
CheckOptions:
|
|
|
|
|
+ - key: cert-err09-cpp.CheckThrowTemporaries
|
|
|
|
|
+ value: '1'
|
|
|
- key: cert-err61-cpp.CheckThrowTemporaries
|
|
- key: cert-err61-cpp.CheckThrowTemporaries
|
|
|
value: '1'
|
|
value: '1'
|
|
|
- key: cert-oop11-cpp.IncludeStyle
|
|
- key: cert-oop11-cpp.IncludeStyle
|
|
|
value: llvm
|
|
value: llvm
|
|
|
- - key: cert-oop11-cpp.UseCERTSemantics
|
|
|
|
|
- value: '1'
|
|
|
|
|
- key: google-readability-braces-around-statements.ShortStatementLines
|
|
- key: google-readability-braces-around-statements.ShortStatementLines
|
|
|
value: '1'
|
|
value: '1'
|
|
|
- key: google-readability-function-size.StatementThreshold
|
|
- key: google-readability-function-size.StatementThreshold
|
|
@@ -41,6 +41,8 @@ CheckOptions:
|
|
|
value: '10'
|
|
value: '10'
|
|
|
- key: google-readability-namespace-comments.SpacesBeforeComments
|
|
- key: google-readability-namespace-comments.SpacesBeforeComments
|
|
|
value: '2'
|
|
value: '2'
|
|
|
|
|
+ - key: misc-argument-comment.StrictMode
|
|
|
|
|
+ value: '0'
|
|
|
- key: misc-assert-side-effect.AssertMacros
|
|
- key: misc-assert-side-effect.AssertMacros
|
|
|
value: assert
|
|
value: assert
|
|
|
- key: misc-assert-side-effect.CheckFunctionCalls
|
|
- key: misc-assert-side-effect.CheckFunctionCalls
|
|
@@ -51,8 +53,6 @@ CheckOptions:
|
|
|
value: '1'
|
|
value: '1'
|
|
|
- key: misc-move-constructor-init.IncludeStyle
|
|
- key: misc-move-constructor-init.IncludeStyle
|
|
|
value: llvm
|
|
value: llvm
|
|
|
- - key: misc-move-constructor-init.UseCERTSemantics
|
|
|
|
|
- value: '0'
|
|
|
|
|
- key: misc-sizeof-expression.WarnOnSizeOfCompareToConstant
|
|
- key: misc-sizeof-expression.WarnOnSizeOfCompareToConstant
|
|
|
value: '1'
|
|
value: '1'
|
|
|
- key: misc-sizeof-expression.WarnOnSizeOfConstant
|
|
- key: misc-sizeof-expression.WarnOnSizeOfConstant
|
|
@@ -63,6 +63,8 @@ CheckOptions:
|
|
|
value: '8388608'
|
|
value: '8388608'
|
|
|
- key: misc-string-constructor.WarnOnLargeLength
|
|
- key: misc-string-constructor.WarnOnLargeLength
|
|
|
value: '1'
|
|
value: '1'
|
|
|
|
|
+ - key: misc-suspicious-enum-usage.StrictMode
|
|
|
|
|
+ value: '0'
|
|
|
- key: misc-suspicious-missing-comma.MaxConcatenatedTokens
|
|
- key: misc-suspicious-missing-comma.MaxConcatenatedTokens
|
|
|
value: '5'
|
|
value: '5'
|
|
|
- key: misc-suspicious-missing-comma.RatioThreshold
|
|
- key: misc-suspicious-missing-comma.RatioThreshold
|
|
@@ -85,6 +87,8 @@ CheckOptions:
|
|
|
value: CamelCase
|
|
value: CamelCase
|
|
|
- key: modernize-pass-by-value.IncludeStyle
|
|
- key: modernize-pass-by-value.IncludeStyle
|
|
|
value: llvm
|
|
value: llvm
|
|
|
|
|
+ - key: modernize-pass-by-value.ValuesOnly
|
|
|
|
|
+ value: '0'
|
|
|
- key: modernize-replace-auto-ptr.IncludeStyle
|
|
- key: modernize-replace-auto-ptr.IncludeStyle
|
|
|
value: llvm
|
|
value: llvm
|
|
|
- key: modernize-use-auto.RemoveStars
|
|
- key: modernize-use-auto.RemoveStars
|
|
@@ -95,10 +99,16 @@ CheckOptions:
|
|
|
value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
|
|
value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
|
|
|
- key: modernize-use-nullptr.NullMacros
|
|
- key: modernize-use-nullptr.NullMacros
|
|
|
value: 'NULL'
|
|
value: 'NULL'
|
|
|
|
|
+ - key: modernize-use-transparent-functors.SafeMode
|
|
|
|
|
+ value: '0'
|
|
|
- key: performance-faster-string-find.StringLikeClasses
|
|
- key: performance-faster-string-find.StringLikeClasses
|
|
|
value: 'std::basic_string'
|
|
value: 'std::basic_string'
|
|
|
- key: performance-for-range-copy.WarnOnAllAutoCopies
|
|
- key: performance-for-range-copy.WarnOnAllAutoCopies
|
|
|
value: '0'
|
|
value: '0'
|
|
|
|
|
+ - key: performance-inefficient-string-concatenation.StrictMode
|
|
|
|
|
+ value: '0'
|
|
|
|
|
+ - key: performance-type-promotion-in-math-fn.IncludeStyle
|
|
|
|
|
+ value: llvm
|
|
|
- key: performance-unnecessary-value-param.IncludeStyle
|
|
- key: performance-unnecessary-value-param.IncludeStyle
|
|
|
value: llvm
|
|
value: llvm
|
|
|
|
|
|