Skip to content

Commit 6bf1611

Browse files
committed
C++: Fix comments.
1 parent 357a2ba commit 6bf1611

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/ql/lib/semmle/code/cpp/ir/internal/IntegerPartial.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ int compareLE(int a, int b) { if a <= b then result = 1 else result = 0 }
8989
bindingset[a, b]
9090
int compareGE(int a, int b) { if a >= b then result = 1 else result = 0 }
9191

92-
/** Returns `a >= b`. */
92+
/** Returns `a | b`. */
9393
bindingset[a, b]
9494
int bitOr(int a, int b) { result = a.bitOr(b) }
9595

96-
/** Returns `a >= b`. */
96+
/** Returns `a & b`. */
9797
bindingset[a, b]
9898
int bitAnd(int a, int b) { result = a.bitAnd(b) }
9999

100-
/** Returns `a >= b`. */
100+
/** Returns `a ^ b`. */
101101
bindingset[a, b]
102102
int bitXor(int a, int b) { result = a.bitXor(b) }
103103

0 commit comments

Comments
 (0)