forked from GSI-HPC/fsq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
30 lines (27 loc) · 984 Bytes
/
Copy path.clang-tidy
File metadata and controls
30 lines (27 loc) · 984 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
29
30
# clang-tidy configuration for fsq project
#
# This configuration is used by the CI workflow for static analysis.
Checks: >
-*,
bugprone-*,
clang-analyzer-core.*,
clang-analyzer-deadcode.*,
clang-analyzer-nullability.*,
clang-analyzer-security.FloatLoopCounter,
clang-analyzer-unix.*,
-clang-analyzer-security.insecureAPI.*,
-bugprone-easily-swappable-parameters,
-bugprone-suspicious-include
CheckOptions:
# Allow feature test macros used in this project
- key: bugprone-reserved-identifier.AllowedIdentifiers
value: '_GNU_SOURCE'
# Notes on disabled checks:
#
# bugprone-easily-swappable-parameters:
# Disabled because qsort comparison functions require (const void *, const void *)
# signature per the C standard. These parameters are intentionally of the same type.
#
# bugprone-suspicious-include:
# Disabled because some test files intentionally include .c files to test
# static functions directly. This is a common unit testing pattern.