Skip to content

Commit 445b0f6

Browse files
Fix implementation scope schema
1 parent 4bdd141 commit 445b0f6

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

rule_packages/cpp/Toolchain3.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@
2929
"scope/single-translation-unit",
3030
"maintainability"
3131
],
32-
"implementation_scope": [
33-
{
34-
"description": "CodeQL does not have all trivial implicit special member functions in its database. This query aims to catch all knowably deprecated cases."
35-
}
36-
]
32+
"implementation_scope": {
33+
"description": "CodeQL does not have all trivial implicit special member functions in its database. This query aims to catch all knowably deprecated cases."
34+
}
3735
},
3836
{
3937
"description": "Deprecated language features such as implicit declarations of copy constructors are only supported for backwards compatibility; these are considered bad practice, or have been superceded by better alternatives.",
@@ -47,11 +45,9 @@
4745
"external/misra/audit",
4846
"maintainability"
4947
],
50-
"implementation_scope": [
51-
{
52-
"description": "CodeQL does not have all trivial implicit special member functions in its database. This query aims to catch all cases that couldn't be proven not to be deprecated."
53-
}
54-
]
48+
"implementation_scope": {
49+
"description": "CodeQL does not have all trivial implicit special member functions in its database. This query aims to catch all cases that couldn't be proven not to be deprecated."
50+
}
5551
},
5652
{
5753
"description": "Deprecated language features such as the noexcept specifier throw() are only supported for backwards compatibility; these are considered bad practice, or have been superceded by better alternatives.",

0 commit comments

Comments
 (0)