Create a file to be used in CI or locally that lists all enabled/disabled checks. Can be passed as a CMake argument or set as environment variable: CODECHECKER_CONFIG_FILE=$ZEPHYR_BASE/tests/codechecker_config.yaml Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
21 lines
428 B
YAML
21 lines
428 B
YAML
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright (c) 2024, Basalte bv
|
|
|
|
analyzer:
|
|
# Start by disabling all
|
|
- --disable-all
|
|
|
|
# Enable the sensitive profile
|
|
- --enable=sensitive
|
|
|
|
# Disable unused cases
|
|
- --disable=boost
|
|
- --disable=mpi
|
|
|
|
# Many identifiers in zephyr start with _
|
|
- --disable=clang-diagnostic-reserved-identifier
|
|
- --disable=clang-diagnostic-reserved-macro-identifier
|
|
|
|
# Cleanup
|
|
- --clean
|