Skip to content

Commit 0e7ed11

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 5b9b524 commit 0e7ed11

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
@@ -68,7 +68,7 @@ class CriticalOperatorExpr extends Expr {
6868
*
6969
* 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
71-
* risky parameters and attempt to match the produced AST to an unparenthesized occurence of that
71+
* risky parameters and attempt to match the produced AST to an unparenthesized occurrence of that
7272
* operator in the argument text.
7373
*
7474
* For a given macro invocation to be considered risky, it must

0 commit comments

Comments
 (0)