mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Python: Improve CallCfgNode interface
Call nodes are always local sources (specifically sources of the return value of the call), and so inheriting from `LocalSourceNode` will have no effect on results, but _should_ make it a bit more smooth to use the API.
This commit is contained in:
@@ -180,7 +180,7 @@ class CfgNode extends Node, TCfgNode {
|
||||
}
|
||||
|
||||
/** A data-flow node corresponding to a `CallNode` in the control-flow graph. */
|
||||
class CallCfgNode extends CfgNode {
|
||||
class CallCfgNode extends CfgNode, LocalSourceNode {
|
||||
override CallNode node;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user