Shared: Autoformat.

This commit is contained in:
Geoffrey White
2024-02-21 17:52:29 +00:00
parent 4367b7813c
commit 7b85bb4c95
2 changed files with 9 additions and 11 deletions

View File

@@ -7,8 +7,8 @@
/** Provides language-specific data flow parameters. */
signature module InputSig {
/**
* Represents a node in the data flow graph.
*/
* Represents a node in the data flow graph.
*/
class Node {
/** Gets a textual representation of this element. */
string toString();
@@ -44,6 +44,7 @@ signature module InputSig {
class PostUpdateNode extends Node {
/**
* Gets the node that represents the pre-update operation.
*
* @return The pre-update node.
*/
Node getPreUpdateNode();
@@ -169,8 +170,8 @@ signature module InputSig {
}
/**
* Represents a content approximation.
*/
* Represents a content approximation.
*/
class ContentApprox {
/** Gets a textual representation of this element. */
string toString();
@@ -194,7 +195,6 @@ signature module InputSig {
* Holds if the given parameter position matches the argument position.
*
* @param ppos The parameter position.
* @param apos The argument position.
*/
predicate parameterMatch(ParameterPosition ppos, ArgumentPosition apos);
@@ -202,7 +202,6 @@ signature module InputSig {
* Holds if there is a simple local flow step between two nodes.
*
* @param node1 The first node in the flow step.
* @param node2 The second node in the flow step.
*/
predicate simpleLocalFlowStep(Node node1, Node node2);

View File

@@ -181,24 +181,22 @@ signature module Semantic {
/**
* Holds if the guard directly controls a given basic block.
*
* @param controlled The basic block to check.
* @param branch Indicates if the control is a branch or not.
*/
predicate directlyControls(BasicBlock controlled, boolean branch);
/**
* Holds if the guard represents an equality between two expressions.
*
* @param e1 The first expression.
* @param e2 The second expression.
* @param polarity The polarity of the equality.
*/
predicate isEquality(Expr e1, Expr e2, boolean polarity);
/**
* Holds if there is a branch edge between two basic blocks.
*
* @param bb1 The first basic block.
* @param bb2 The second basic block.
* @param branch Indicates if the edge is a branch or not.
*/
predicate hasBranchEdge(BasicBlock bb1, BasicBlock bb2, boolean branch);
}
@@ -361,6 +359,7 @@ signature module BoundSig<LocationSig Location, Semantic Sem, DeltaSig D> {
/**
* Gets the expression associated with the semantic bound, given a delta.
*
* @param delta - The delta value.
*/
Sem::Expr getExpr(D::Delta delta);