-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathBannedTypes.json
More file actions
105 lines (105 loc) · 3.11 KB
/
BannedTypes.json
File metadata and controls
105 lines (105 loc) · 3.11 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"AUTOSAR": {
"A0-4-2": {
"properties": {
"allocated-target": [
"implementation"
],
"enforcement": "automated",
"obligation": "required"
},
"queries": [
{
"description": "The type long double has an implementation-defined width and therefore shall not be used.",
"kind": "problem",
"name": "Type long double shall not be used",
"precision": "very-high",
"severity": "warning",
"short_name": "TypeLongDoubleUsed",
"tags": [
"correctness",
"readability",
"scope/single-translation-unit"
]
}
],
"title": "Type long double shall not be used."
},
"A18-1-2": {
"properties": {
"allocated-target": [
"implementation"
],
"enforcement": "automated",
"obligation": "required"
},
"queries": [
{
"description": "The std::vector<bool> specialization differs from all other containers std::vector<T> such that sizeof bool is implementation defined which causes errors when using some STL algorithms.",
"kind": "problem",
"name": "The std::vector<bool> specialization shall not be used",
"precision": "very-high",
"severity": "warning",
"short_name": "VectorboolSpecializationUsed",
"shared_implementation_short_name": "VectorShouldNotBeSpecializedWithBool",
"tags": [
"correctness",
"scope/single-translation-unit"
]
}
],
"title": "The std::vector<bool> specialization shall not be used."
},
"A18-1-3": {
"properties": {
"allocated-target": [
"implementation"
],
"enforcement": "automated",
"obligation": "required"
},
"queries": [
{
"description": "The std::auto_ptr type is deprecated because it cannot be placed in STL containers.",
"kind": "problem",
"name": "The std::auto_ptr type shall not be used",
"precision": "very-high",
"severity": "warning",
"short_name": "AutoPtrTypeUsed",
"tags": [
"maintainability",
"scope/single-translation-unit"
]
}
],
"title": "The std::auto_ptr type shall not be used."
},
"A2-13-3": {
"properties": {
"allocated-target": [
"architecture",
"design",
"implementation"
],
"enforcement": "automated",
"obligation": "required"
},
"queries": [
{
"description": "Type wchar_t shall not be used because its width is implementation defined.",
"kind": "problem",
"name": "Type wchar_t shall not be used",
"precision": "very-high",
"severity": "warning",
"short_name": "TypeWcharTUsed",
"tags": [
"correctness",
"readability",
"scope/single-translation-unit"
]
}
],
"title": "Type wchar_t shall not be used."
}
}
}