Skip to content

Commit a65e585

Browse files
committed
C++: 'nomagic' on 'binaryExprOperands'.
1 parent 8ff0a19 commit a65e585

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/lib/experimental/semmle/code/cpp/semantic/analysis/SignAnalysisCommon.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ private class BinarySignExpr extends FlowSignExpr {
204204
}
205205
}
206206

207+
pragma[nomagic]
207208
private predicate binaryExprOperands(SemBinaryExpr binary, SemExpr left, SemExpr right) {
208209
binary.getLeftOperand() = left and binary.getRightOperand() = right
209210
}

0 commit comments

Comments
 (0)