Skip to content

Commit b60dcd0

Browse files
committed
Add query suites for mandatory, required and advisory rules.
1 parent ecb3a4a commit b60dcd0

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

change_notes/2024-10-03-misra-c-query-suites.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
- The following query suites have been added or modified for MISRA C++:
88
- A new query suite has been created `misra-cpp-default.qls` to avoid confusion with the MISRA C query suites. The `misra-default.qls` suite has been deprecated, and will be removed in a future releases, and is replaced by the `misra-cpp-default.qls` suite.
99
- The `misra-cpp-default.qls` suite has been specified as the default for the pack, and will include our most up-to-date coverage for MISRA C.
10-
- A new query suite has been created `misra-cpp-single-translation-unit.qls` to avoid confusion with the MISRA C query suites. The `misra-single-translation-unit.qls` suite has been deprecated, and will be removed in a future releases, and is replaced by the `misra-cpp-single-translation-unit.qls` suite.
10+
- A new query suite has been created `misra-cpp-single-translation-unit.qls` to avoid confusion with the MISRA C query suites. The `misra-single-translation-unit.qls` suite has been deprecated, and will be removed in a future releases, and is replaced by the `misra-cpp-single-translation-unit.qls` suite.
11+
- Three new query suites, `misra-cpp-mandatory.qls`, `misra-c-required.qls` and `misra-c-advisory.qls`, have been added to enable running mandatory, required or advisory queries.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- description: MISRA C++ 2023 (Default)
2+
- qlpack: codeql/misra-cpp-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
tags contain:
8+
- external/misra/obligation/advisory
9+
- exclude:
10+
tags contain:
11+
- external/misra/audit
12+
- external/misra/default-disabled
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- description: MISRA C++ 2023 (Default)
2+
- qlpack: codeql/misra-cpp-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
tags contain:
8+
- external/misra/obligation/mandatory
9+
- exclude:
10+
tags contain:
11+
- external/misra/audit
12+
- external/misra/default-disabled
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- description: MISRA C++ 2023 (Default)
2+
- qlpack: codeql/misra-cpp-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
tags contain:
8+
- external/misra/obligation/required
9+
- exclude:
10+
tags contain:
11+
- external/misra/audit
12+
- external/misra/default-disabled

0 commit comments

Comments
 (0)