Skip to content

Commit 004f367

Browse files
committed
spelling: predicate
Signed-off-by: Josh Soref <[email protected]>
1 parent f7a1647 commit 004f367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Likely Bugs/Likely Typos/IncorrectNotOperatorUsage.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import cpp
1717
/**
1818
* It's common in some projects to use "a double negation" to normalize the boolean
1919
* result to either 1 or 0.
20-
* This predciate is intended to filter explicit usage of a double negation as it typically
20+
* This predicate is intended to filter explicit usage of a double negation as it typically
2121
* indicates the explicit purpose to normalize the result for bit-wise or arithmetic purposes.
2222
*/
2323
predicate doubleNegationNormalization(NotExpr notexpr) { notexpr.getAnOperand() instanceof NotExpr }

0 commit comments

Comments
 (0)