Skip to content

Commit 5e7e836

Browse files
committed
Rule 9.2.1: Add proviso for if statement initializers
1 parent 83e57be commit 5e7e836

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rule_packages/cpp/Conversions2.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@
116116
"short_name": "NoStandaloneTypeCastExpression",
117117
"tags": [
118118
"scope/single-translation-unit"
119-
]
119+
],
120+
"implementation_scope": {
121+
"description": "Expression statements in if statement initializers are not currently supported."
122+
}
120123
}
121124
],
122125
"title": "An explicit type conversion shall not be an expression statement"

0 commit comments

Comments
 (0)