We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4fd878 commit d0ecabaCopy full SHA for d0ecaba
1 file changed
cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowPrivate.qll
@@ -219,15 +219,13 @@ class DataFlowExpr = Expr;
219
class DataFlowType = Type;
220
221
/** A function call relevant for data flow. */
222
-class DataFlowCall extends Expr {
223
- DataFlowCall() { this instanceof Call }
224
-
+class DataFlowCall extends Expr instanceof Call {
225
/**
226
* Gets the nth argument for this call.
227
*
228
* The range of `n` is from `0` to `getNumberOfArguments() - 1`.
229
*/
230
- Expr getArgument(int n) { result = this.(Call).getArgument(n) }
+ Expr getArgument(int n) { result = super.getArgument(n) }
231
232
/** Gets the data flow node corresponding to this call. */
233
ExprNode getNode() { result.getExpr() = this }
0 commit comments