-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cppcheck
More file actions
56 lines (49 loc) · 1.43 KB
/
.cppcheck
File metadata and controls
56 lines (49 loc) · 1.43 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<project version="1">
<root name="."/>
<builddir>build-msvc</builddir>
<!-- Source paths to analyze -->
<paths>
<dir name="src/"/>
<dir name="include/"/>
<dir name="tools/"/>
<dir name="tests/"/>
<dir name="benchmarks/"/>
</paths>
<!-- Paths to exclude -->
<exclude>
<path name="external/"/>
<path name="vcpkg_installed/"/>
<path name="build-msvc/"/>
<path name="build-wsl/"/>
<path name="tests/"/>
<path name="benchmarks/"/>
</exclude>
<!-- Suppressions for known false positives -->
<suppressions>
<suppression>
<id>missingIncludeSystem</id>
</suppression>
<suppression>
<id>unmatchedSuppression</id>
</suppression>
<suppression>
<id>unusedFunction</id>
<fileName>*/tests/*</fileName>
</suppression>
</suppressions>
<!-- Enable checks -->
<check-library>posix</check-library>
<check-library>std</check-library>
<check-library>boost</check-library>
<!-- Platform configuration -->
<platform>native</platform>
<!-- Standards -->
<standards>
<c>c11</c>
<cpp>c++20</cpp>
</standards>
<!-- Analysis configuration -->
<max-ctu-depth>4</max-ctu-depth>
<check-level>exhaustive</check-level>
</project>