Browse Source
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>pull/77806/head
1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||||||
|
# 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 |
Loading…
Reference in new issue