mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Use ArgumentPosition instead of int
This matches what all of the other languages do.
This commit is contained in:
@@ -17,7 +17,7 @@ class SummarizedCallableBase = FlowSummary::SummarizedCallableBase;
|
|||||||
DataFlowCallable inject(SummarizedCallable c) { result.asSummarizedCallable() = c }
|
DataFlowCallable inject(SummarizedCallable c) { result.asSummarizedCallable() = c }
|
||||||
|
|
||||||
/** Gets the parameter position of the instance parameter. */
|
/** Gets the parameter position of the instance parameter. */
|
||||||
int instanceParameterPosition() { result = -1 }
|
ArgumentPosition instanceParameterPosition() { result = -1 }
|
||||||
|
|
||||||
/** Gets the synthesized summary data-flow node for the given values. */
|
/** Gets the synthesized summary data-flow node for the given values. */
|
||||||
Node summaryNode(SummarizedCallable c, SummaryNodeState state) { result = getSummaryNode(c, state) }
|
Node summaryNode(SummarizedCallable c, SummaryNodeState state) { result = getSummaryNode(c, state) }
|
||||||
|
|||||||
Reference in New Issue
Block a user