Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3a480e9

Browse filesBrowse files
committed
Include the original rule category.
1 parent ea455ed commit 3a480e9
Copy full SHA for 3a480e9

File tree

Expand file treeCollapse file tree

2 files changed

+9
-10
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+9
-10
lines changed

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

Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/guideline_recategorizations/ListGuidelineRecategorizations.ql
+1-1Lines 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()
+8-9Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.