-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathDeclarations5.json
More file actions
47 lines (47 loc) · 1.54 KB
/
Declarations5.json
File metadata and controls
47 lines (47 loc) · 1.54 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"MISRA-C++-2023": {
"RULE-6-8-4": {
"properties": {
"enforcement": "decidable",
"obligation": "advisory"
},
"queries": [
{
"description": "Member functions that return references to temporary objects (or subobjects) can lead to dangling pointers.",
"kind": "problem",
"name": "Member functions returning references to their object should be refqualified appropriately",
"precision": "very-high",
"severity": "error",
"short_name": "MemberFunctionsRefqualified",
"tags": [
"correctness",
"scope/single-translation-unit"
]
}
],
"title": "Member functions returning references to their object should be refqualified appropriately"
},
"RULE-6-9-1": {
"properties": {
"enforcement": "decidable",
"obligation": "required"
},
"queries": [
{
"description": "Using different type aliases on redeclarations can make code hard to understand and maintain.",
"kind": "problem",
"name": "The same type aliases shall be used in all declarations of the same entity",
"precision": "very-high",
"severity": "warning",
"short_name": "TypeAliasesDeclaration",
"tags": [
"maintainability",
"readability",
"scope/single-translation-unit"
]
}
],
"title": "The same type aliases shall be used in all declarations of the same entity"
}
}
}