-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.codechecker.yaml
More file actions
29 lines (24 loc) · 906 Bytes
/
Copy path.codechecker.yaml
File metadata and controls
29 lines (24 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2026 atframework
# CodeChecker check --config ../.codechecker.yaml -i ../.codechecker.skipfile -l compile_commands.json -j 30 -o codechecker-result || true
analyzer:
# Disable unused cases
- --analyzers
- clang-tidy
# - clangsa # 这个PCH有适配问题, 先关闭
# Allow .clang-tidy
- "--analyzer-config"
- "clang-tidy:take-config-from-directory=true"
- "clang-tidy:cc-verbatim-args-file=.codechecker.clang-tidy.args"
# - --enable=profile:extreme
# - --disable=boost
#
# # Many identifiers in MX framework start with _
# - --disable=clang-diagnostic-reserved-identifier
# - --disable=clang-diagnostic-reserved-macro-identifier
# - --disable=clang-diagnostic-unused-parameter
# # For ccc-analyzer/clangsa
# - --disable=alpha.clone.CloneChecker
# - --disable=alpha.cplusplus.IteratorRange
# PCH support
# - --ctu
# - --ctu-ast-mode=load-from-pch