Skip to content

Commit 326d7d3

Browse files
committed
EssentialTypes: add . to descriptions
1 parent beff5c1 commit 326d7d3

7 files changed

+12
-12
lines changed

c/misra/src/rules/RULE-10-2/AdditionSubtractionOnEssentiallyCharType.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @id c/misra/addition-subtraction-on-essentially-char-type
33
* @name RULE-10-2: Inappropriate use of essentially character type operands in addition and subtraction operations
44
* @description Expressions of essentially character type shall not be used inappropriately in
5-
* addition and subtraction operations
5+
* addition and subtraction operations.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity error

c/misra/src/rules/RULE-10-3/AssignmentOfIncompatibleEssentialType.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @id c/misra/assignment-of-incompatible-essential-type
33
* @name RULE-10-3: Do not assign to an object with a different essential type category or narrower essential type
44
* @description The value of an expression shall not be assigned to an object with a narrower
5-
* essential type or of a different essential type category
5+
* essential type or of a different essential type category.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity warning

c/misra/src/rules/RULE-10-4/OperandsWithMismatchedEssentialTypeCategory.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @id c/misra/operands-with-mismatched-essential-type-category
33
* @name RULE-10-4: Operator with usual arithmetic conversions shall have operands with the same essential type category
44
* @description Both operands of an operator in which the usual arithmetic conversions are performed
5-
* shall have the same essential type category
5+
* shall have the same essential type category.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity warning

c/misra/src/rules/RULE-10-7/ImplicitConversionOfCompositeExpression.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @name RULE-10-7: Implicit conversion of composite expression operand to wider essential type
44
* @description If a composite expression is used as one operand of an operator in which the usual
55
* arithmetic conversions are performed then the other operand shall not have wider
6-
* essential type
6+
* essential type.
77
* @kind problem
88
* @precision very-high
99
* @problem.severity warning

c/misra/src/rules/RULE-10-8/InappropriateCastOfCompositeExpression.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @id c/misra/inappropriate-cast-of-composite-expression
33
* @name RULE-10-8: Composite expression explicitly casted to wider or different essential type
44
* @description The value of a composite expression shall not be cast to a different essential type
5-
* category or a wider essential type
5+
* category or a wider essential type.
66
* @kind problem
77
* @precision very-high
88
* @problem.severity warning

c/misra/src/rules/RULE-21-16/MemcmpOnInappropriateEssentialTypeArgs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @name RULE-21-16: Do not use memcmp on pointers to characters or composite types such as structs and unions.
44
* @description The pointer arguments to the Standard Library function memcmp shall point to either
55
* a pointer type, an essentially signed type, an essentially unsigned type, an
6-
* essentially Boolean type or an essentially enum type
6+
* essentially Boolean type or an essentially enum type.
77
* @kind problem
88
* @precision very-high
99
* @problem.severity error

rule_packages/c/EssentialTypes.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"queries": [
3838
{
39-
"description": "Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations",
39+
"description": "Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations.",
4040
"kind": "problem",
4141
"name": "Inappropriate use of essentially character type operands in addition and subtraction operations",
4242
"precision": "very-high",
@@ -56,7 +56,7 @@
5656
},
5757
"queries": [
5858
{
59-
"description": "The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category",
59+
"description": "The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category.",
6060
"kind": "problem",
6161
"name": "Do not assign to an object with a different essential type category or narrower essential type",
6262
"precision": "very-high",
@@ -76,7 +76,7 @@
7676
},
7777
"queries": [
7878
{
79-
"description": "Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category",
79+
"description": "Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category.",
8080
"kind": "problem",
8181
"name": "Operator with usual arithmetic conversions shall have operands with the same essential type category",
8282
"precision": "very-high",
@@ -136,7 +136,7 @@
136136
},
137137
"queries": [
138138
{
139-
"description": "If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then the other operand shall not have wider essential type",
139+
"description": "If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then the other operand shall not have wider essential type.",
140140
"kind": "problem",
141141
"name": "Implicit conversion of composite expression operand to wider essential type",
142142
"precision": "very-high",
@@ -156,7 +156,7 @@
156156
},
157157
"queries": [
158158
{
159-
"description": "The value of a composite expression shall not be cast to a different essential type category or a wider essential type",
159+
"description": "The value of a composite expression shall not be cast to a different essential type category or a wider essential type.",
160160
"kind": "problem",
161161
"name": "Composite expression explicitly casted to wider or different essential type",
162162
"precision": "very-high",
@@ -196,7 +196,7 @@
196196
},
197197
"queries": [
198198
{
199-
"description": "The pointer arguments to the Standard Library function memcmp shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type",
199+
"description": "The pointer arguments to the Standard Library function memcmp shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type.",
200200
"kind": "problem",
201201
"name": "Do not use memcmp on pointers to characters or composite types such as structs and unions.",
202202
"precision": "very-high",

0 commit comments

Comments
 (0)