mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 04:49:10 +08:00
c077230b11
cert-dcl21-cpp is pretty bogus, doing as it says can force a copy. https://reviews.llvm.org/D33531 Turn on some good ones.
18 lines
1.2 KiB
YAML
18 lines
1.2 KiB
YAML
---
|
|
Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-valist.Uninitialized,cert-*,performance-*,portability-*,-modernize-use-auto,modernize-loop-convert,modernize-use-bool-literals,modernize-use-using,hicpp-uppercase-literal-suffix,readability-make-member-function-const,readability-redundant-string-init,readability-inconsistent-declaration-parameter-name,readability-redundant-access-specifiers,-performance-noexcept-move-constructor,-cert-dcl21-cpp,-cert-dcl37-c,-cert-dcl50-cpp,-cert-dcl51-cpp,-cert-str34-c,-cert-env33-c,misc-static-assert,readability-use-anyofallof,readability-simplify-*,readability-redundant-*,modernize-redundant-void-arg,modernize-make-shared,modernize-make-unique,modernize-loop-convert,'
|
|
WarningsAsErrors: ''
|
|
HeaderFilterRegex: ''
|
|
AnalyzeTemporaryDtors: false
|
|
FormatStyle: File
|
|
CheckOptions:
|
|
- key: cert-dcl16-c.NewSuffixes
|
|
value: 'L;LL;LU;LLU'
|
|
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
|
|
value: '0'
|
|
- key: modernize-loop-convert.MinConfidence
|
|
value: 'risky'
|
|
- key: modernize-use-auto.RemoveStars
|
|
value: '1'
|
|
...
|
|
|