Skip to content

Commit 939ab79

Browse files
committed
A3-1-5: Move precision to low
1 parent 4920e9c commit 939ab79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cpp/autosar/src/rules/A3-1-5/NonTrivialNonTemplateFunctionDefinedInsideClassDefinition.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @description A function that is not either trivial, a template function, or a member of a
55
* template class may not be defined within a class body.
66
* @kind problem
7-
* @precision very-high
7+
* @precision low
88
* @problem.severity recommendation
99
* @tags external/autosar/id/a3-1-5
1010
* external/autosar/audit

cpp/autosar/test/rules/A3-1-5/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,4 @@ int FooBar::f1(int a, int b) { // COMPLIANT not a trivial function
188188
;
189189
;
190190
}
191-
}
191+
}

rule_packages/cpp/Classes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
"description": "A function that is not either trivial, a template function, or a member of a template class may not be defined within a class body.",
183183
"kind": "problem",
184184
"name": "A function shall be defined with a class body if and only if it is intended to be inlined",
185-
"precision": "very-high",
185+
"precision": "low",
186186
"severity": "recommendation",
187187
"short_name": "NonTrivialNonTemplateFunctionDefinedInsideClassDefinition",
188188
"tags": [

0 commit comments

Comments
 (0)