Skip to content

Commit 2223bc3

Browse files
authored
Merge pull request #10261 from MathiasVP/fix-join-in-sign-analysis
C++: Fix join in sign analysis
2 parents ae9ba80 + a65e585 commit 2223bc3

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)