Skip to content

Commit a19965e

Browse files
Fix typo
Co-authored-by: Luke Cartey <5377966+lcartey@users.noreply.github.com>
1 parent 1ed65cf commit a19965e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/misra/src/rules/RULE-21-25/InvalidMemoryOrderArgument.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ import MemoryOrderFlow::PathGraph
149149

150150
/**
151151
* If the node is a memory order constant, or shares a value with a memory order constant, then
152-
* return the name of that cnonstant. Otherwise, simply print the node.
152+
* return the name of that constant. Otherwise, simply print the node.
153153
*/
154154
string describeMemoryOrderNode(DataFlow::Node node) {
155155
if node.asExpr() instanceof MemoryOrderConstantExpr

0 commit comments

Comments
 (0)