Shared: Pinch better doc for isEquality from a related Guards class in csharp.

This commit is contained in:
Geoffrey White
2024-02-29 15:41:43 +00:00
parent 573763a4b3
commit 8151f3024d

View File

@@ -195,9 +195,9 @@ signature module Semantic {
predicate directlyControls(BasicBlock controlled, boolean branch); predicate directlyControls(BasicBlock controlled, boolean branch);
/** /**
* Holds if the guard represents an equality between two expressions. * Holds if this guard is an equality test between `e1` and `e2`. If the
* * test is negated, that is `!=`, then `polarity` is false, otherwise
* @param e1 The first expression. * `polarity` is true.
*/ */
predicate isEquality(Expr e1, Expr e2, boolean polarity); predicate isEquality(Expr e1, Expr e2, boolean polarity);