Skip to content

Commit d9a3371

Browse files
committed
Update @problem.severity metadata
1 parent 2cf4b66 commit d9a3371

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cpp/misra/src/rules/RULE-10-2-2/UnscopedEnumerationsShouldNotBeDeclared.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* types.
77
* @kind problem
88
* @precision very-high
9-
* @problem.severity error
9+
* @problem.severity warning
1010
* @tags external/misra/id/rule-10-2-2
1111
* scope/single-translation-unit
1212
* correctness

cpp/misra/src/rules/RULE-10-3-1/UnnamedNamespacesInHeaderFiles.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* unit, which may not be consistent with developer expectations.
66
* @kind problem
77
* @precision very-high
8-
* @problem.severity error
8+
* @problem.severity warning
99
* @tags external/misra/id/rule-10-3-1
1010
* scope/single-translation-unit
1111
* correctness

rule_packages/cpp/Banned2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"kind": "problem",
1212
"name": "Unscoped enumerations should not be declared",
1313
"precision": "very-high",
14-
"severity": "error",
14+
"severity": "warning",
1515
"short_name": "UnscopedEnumerationsShouldNotBeDeclared",
1616
"tags": [
1717
"scope/single-translation-unit",

rule_packages/cpp/Banned4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"kind": "problem",
1212
"name": "There should be no unnamed namespaces in header files",
1313
"precision": "very-high",
14-
"severity": "error",
14+
"severity": "warning",
1515
"short_name": "UnnamedNamespacesInHeaderFiles",
1616
"tags": [
1717
"scope/single-translation-unit",

0 commit comments

Comments
 (0)