mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Shared: Pinch better doc for isEquality from a related Guards class in csharp.
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user