-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsonar-project.properties
More file actions
26 lines (23 loc) · 1.46 KB
/
Copy pathsonar-project.properties
File metadata and controls
26 lines (23 loc) · 1.46 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
# SonarCloud issue suppressions for deliberate lock-free / placement-new code.
# projectKey, organization, sources, tests and coverage settings are passed on
# the scanner CLI in .github/workflows/sonarcloud.yaml; only the ignore rules
# below are configured here.
sonar.issue.ignore.multicriteria=e1,e2,e3,e4,e5
# S8417: explicit memory_order arguments are intentional in this concurrency
# framework; the carefully chosen relaxed/acquire/release/acq_rel orderings are
# required for performance and must not be forced to seq_cst.
sonar.issue.ignore.multicriteria.e1.ruleKey=cpp:S8417
sonar.issue.ignore.multicriteria.e1.resourceKey=src/threading/**
sonar.issue.ignore.multicriteria.e2.ruleKey=cpp:S8417
sonar.issue.ignore.multicriteria.e2.resourceKey=src/extension/**
# S5025 (manual new/delete), S3630 (reinterpret_cast) and S3432 (explicit
# destructor call) are unavoidable in the lock-free queues: manual Block
# lifetime is dictated by the graveyard reclamation scheme and the
# reinterpret_cast + explicit ~T() are the placement-new idiom for the aligned
# slot storage. Scope these to the queue files only.
sonar.issue.ignore.multicriteria.e3.ruleKey=cpp:S5025
sonar.issue.ignore.multicriteria.e3.resourceKey=**/scheduler/queue/*.hpp
sonar.issue.ignore.multicriteria.e4.ruleKey=cpp:S3630
sonar.issue.ignore.multicriteria.e4.resourceKey=**/scheduler/queue/*.hpp
sonar.issue.ignore.multicriteria.e5.ruleKey=cpp:S3432
sonar.issue.ignore.multicriteria.e5.resourceKey=**/scheduler/queue/*.hpp