Skip to content

Commit c8f4b28

Browse files
committed
C++: Add a comment on the old SSA library.
1 parent 7e93b99 commit c8f4b28

File tree

1 file changed

+7
-0
lines changed
  • cpp/ql/lib/semmle/code/cpp/controlflow

1 file changed

+7
-0
lines changed

cpp/ql/lib/semmle/code/cpp/controlflow/SSA.qll

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ class StandardSsa extends SsaHelper {
1515
}
1616

1717
/**
18+
* NOTE: If possible, prefer the SSA classes exposed by the new dataflow
19+
* library:
20+
* ```
21+
* import semmle.code.cpp.dataflow.new.DataFlow
22+
* // use `DataFlow::Definition`
23+
* ```
24+
*
1825
* A definition of one or more SSA variables, including phi node definitions.
1926
* An _SSA variable_, as defined in the literature, is effectively the pair of
2027
* an `SsaDefinition d` and a `StackVariable v`, written `(d, v)` in this

0 commit comments

Comments
 (0)