Skip to content

Commit f676b86

Browse files
committed
Create a query suites for "single-translation-unit" C++ rules
These query suites identify rules which are usable on a database created for a single translation unit without introducing new false positives vs. a full build for a project.
1 parent 8a4607c commit f676b86

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- description: AUTOSAR C++14 Guidelines 20-11 (Single Translation Unit)
2+
- qlpack: autosar-cpp-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
tags contain:
8+
- scope/single-translation-unit
9+
- exclude:
10+
tags contain:
11+
- external/autosar/audit
12+
- external/autosar/default-disabled
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- description: CERT C++ 2016 (Single Translation Unit)
2+
- qlpack: cert-cpp-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
tags contain:
8+
- scope/single-translation-unit
9+
- exclude:
10+
tags contain:
11+
- external/cert/default-disabled

0 commit comments

Comments
 (0)