mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
77f2f358c3
Change-Id: Iddf04fac95d04a4816a0d1d022f04450679377af No-Docs-Update-Reason: Format fixes Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/56925 Commit-Queue: Henri Chataing <henrichataing@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
84 lines
2.4 KiB
YAML
84 lines
2.4 KiB
YAML
---
|
|
Checks: >
|
|
clang-diagnostic-*,
|
|
-clang-analyzer-*,
|
|
modernize-*,
|
|
-modernize-avoid-c-arrays,
|
|
-modernize-concat-nested-namespaces,
|
|
-modernize-deprecated-headers,
|
|
-modernize-loop-convert,
|
|
-modernize-pass-by-value,
|
|
-modernize-raw-string-literal,
|
|
-modernize-redundant-void-arg,
|
|
-modernize-return-braced-init-list,
|
|
-modernize-unary-static-assert,
|
|
-modernize-use-auto,
|
|
-modernize-use-default-member-init,
|
|
-modernize-use-emplace,
|
|
-modernize-use-equals-default,
|
|
-modernize-use-nodiscard,
|
|
-modernize-use-override,
|
|
-modernize-use-trailing-return-type,
|
|
-modernize-use-using,
|
|
WarningsAsErrors: >
|
|
*,
|
|
-clang-diagnostic-unused-command-line-argument
|
|
HeaderFilterRegex: '.*'
|
|
...
|
|
|
|
# Disable checks:
|
|
#
|
|
# clang-analyzer-*:
|
|
# The clang static analyzer checks take too much time to be
|
|
# run as part of the presubmit checks; the static analysis is
|
|
# instead performed by the 'static_analysis' step in
|
|
# 'other_checks'
|
|
#
|
|
# performance-*
|
|
# bugprone-*
|
|
# cert-*
|
|
# misc-*
|
|
# readability-*
|
|
#
|
|
# Checks marked with @ should be reenabled first
|
|
# (the effort is minimal).
|
|
#
|
|
# modernize-avoid-c-arrays:
|
|
# @ modernize-concat-nested-namespaces:
|
|
# Note: added in c++17
|
|
# modernize-deprecated-headers:
|
|
# Advises to use <cheader> instead of <header.h> for
|
|
# legacy headers
|
|
# modernize-loop-convert:
|
|
# @ modernize-pass-by-value:
|
|
# @ modernize-raw-string-literal:
|
|
# Note: added in c++11
|
|
# @ modernize-redundant-void-arg:
|
|
# modernize-return-braced-init-list:
|
|
# @ modernize-unary-static-assert:
|
|
# Note: added in c++17
|
|
# The message argument can be omitted when it is empty
|
|
# @ modernize-use-auto:
|
|
# Advises to use auto when initializing with a cast to
|
|
# avoid duplicating the type name
|
|
# modernize-use-default-member-init:
|
|
# Note: added in c++11
|
|
# Advises to use a default initializer in
|
|
# member declarations
|
|
# @ modernize-use-emplace:
|
|
# @ modernize-use-equals-default:
|
|
# Note: added in c++11
|
|
# Advises to use '= default' for empty constructors or
|
|
# destructors '{}'
|
|
# modernize-use-nodiscard:
|
|
# Note: added in c++17
|
|
# @ modernize-use-override:
|
|
# modernize-use-trailing-return-type:
|
|
# Note: added in c++11
|
|
# Used to delay the writing of the return type
|
|
# to after the function parameters; does not make
|
|
# sense to generalise its use.
|
|
# modernize-use-using:
|
|
# Note: added in c++11
|
|
# Advises to use 'using' instead of 'typedef'
|