File tree Expand file tree Collapse file tree
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1164,17 +1164,15 @@ class SummaryCall extends DataFlowCall, TSummaryCall {
11641164
11651165 /**
11661166 * Gets the data flow node that this call targets.
1167- * OR
1168- * Gets the data flow node that receives the result of the call.
1169- * TODO: which is right?
11701167 */
11711168 FlowSummaryImpl:: Private:: SummaryNode getReceiver ( ) { result = receiver }
11721169
1173- // override CallTargetOperand getCallTargetOperand() TODO
1174- override DataFlowCallable getStaticCallTarget ( ) { result = TSummarizedCallable ( c ) } // TODO: is this right?
1170+ // no implementation for `getCallTargetOperand()`, `getStaticCallTarget()`
1171+ // or `getArgumentOperand(int index)`. This is because the flow summary
1172+ // library is responsible for finding the call target, and there are no
1173+ // IR nodes available for the call target operand or argument operands.
11751174
1176- // override ArgumentOperand getArgumentOperand(int index) TODO
1177- override DataFlowCallable getEnclosingCallable ( ) { result = TSummarizedCallable ( c ) } // TODO: is this right?
1175+ override DataFlowCallable getEnclosingCallable ( ) { result = TSummarizedCallable ( c ) }
11781176
11791177 override string toString ( ) { result = "[summary] call to " + receiver + " in " + c }
11801178
You can’t perform that action at this time.
0 commit comments