mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Python: rearrange to minimize diff
also fix typo
This commit is contained in:
@@ -450,9 +450,6 @@ abstract class DataFlowCall extends TDataFlowCall {
|
||||
/** Gets a textual representation of this element. */
|
||||
abstract string toString();
|
||||
|
||||
/** Gets the enclosing callable of this call. */
|
||||
abstract DataFlowCallable getEnclosingCallable();
|
||||
|
||||
/** Get the callable to which this call goes, if such exists. */
|
||||
abstract DataFlowCallable getCallable();
|
||||
|
||||
@@ -465,6 +462,9 @@ abstract class DataFlowCall extends TDataFlowCall {
|
||||
/** Get the control flow node representing this call, if any. */
|
||||
abstract ControlFlowNode getNode();
|
||||
|
||||
/** Gets the enclosing callable of this call. */
|
||||
abstract DataFlowCallable getEnclosingCallable();
|
||||
|
||||
/** Gets the location of this dataflow call. */
|
||||
abstract Location getLocation();
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ module SyntheticPostUpdateNode {
|
||||
)
|
||||
}
|
||||
|
||||
/** Holds if `call` can be resolved as anormal call */
|
||||
/** Holds if `call` can be resolved as a normal call */
|
||||
private predicate resolvedCall(CallNode call) {
|
||||
call = any(DataFlowCallableValue cv).getACall()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user