Skip to content

Commit 5b9b524

Browse files
Update cpp/misra/src/rules/RULE-19-3-4/UnparenthesizedMacroArgument.ql
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4e2e128 commit 5b9b524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/misra/src/rules/RULE-19-3-4/UnparenthesizedMacroArgument.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class CriticalOperatorExpr extends Expr {
6666
* An invocation of a macro that has a parameter that is not precedence-protected with parentheses,
6767
* and that produces a critical operator expression.
6868
*
69-
* This class is used in two passes. Firstly, with `hasRiskyParameter`, to find the macro paramaters
69+
* This class is used in two passes. Firstly, with `hasRiskyParameter`, to find the macro parameters
7070
* that should be parsed for parenthesis. Secondly, with `hasNonCompliantParameter`, to parse the
7171
* risky parameters and attempt to match the produced AST to an unparenthesized occurence of that
7272
* operator in the argument text.

0 commit comments

Comments
 (0)