Skip to content

Commit 3a480e9

Browse files
committed
Include the original rule category.
1 parent ea455ed commit 3a480e9

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

cpp/common/src/codingstandards/cpp/guideline_recategorizations/ListGuidelineRecategorizations.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ import cpp
99
import GuidelineRecategorizations
1010

1111
from GuidelineRecategorization gr
12-
select gr.getRuleId(), gr.getCategory()
12+
select gr.getRuleId(), gr.getQuery().getCategory(), gr.getCategory()
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
| A0-1-1 | advisory |
2-
| A0-1-1 | mandatory |
3-
| A0-1-2 | disapplied |
4-
| A0-1-6 | disapplied |
5-
| A1-4-3 | mandatory |
6-
| A10-4-1 | required |
7-
| A11-0-1 | mandatory |
8-
| CON50-CPP | required |
9-
| RULE-13-6 | required |
1+
| A0-1-1 | required | advisory |
2+
| A0-1-1 | required | mandatory |
3+
| A0-1-2 | required | disapplied |
4+
| A0-1-6 | advisory | disapplied |
5+
| A10-4-1 | advisory | required |
6+
| A11-0-1 | advisory | mandatory |
7+
| CON50-CPP | rule | required |
8+
| RULE-13-6 | mandatory | required |

0 commit comments

Comments
 (0)