зеркало из https://github.com/github/codeql.git
Dataflow: Remove duplicate definitions
This commit is contained in:
Родитель
bc8ca1af86
Коммит
012e1b498d
|
@ -2588,21 +2588,21 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
|
|||
|
||||
CcCall ccSomeCall() { result instanceof CallContextSomeCall }
|
||||
|
||||
DataFlowCallable viableImplCallContextReduced(DataFlowCall call, CcCall ctx) {
|
||||
result = Input::prunedViableImplInCallContext(call, ctx)
|
||||
}
|
||||
|
||||
bindingset[call, ctx]
|
||||
predicate viableImplNotCallContextReduced(DataFlowCall call, Cc ctx) {
|
||||
Input::noPrunedViableImplInCallContext(call, ctx)
|
||||
}
|
||||
|
||||
module NoLocalCallContext {
|
||||
class LocalCc = Unit;
|
||||
|
||||
bindingset[node, cc]
|
||||
LocalCc getLocalCc(NodeEx node, Cc cc) { any() }
|
||||
|
||||
DataFlowCallable viableImplCallContextReduced(DataFlowCall call, CcCall ctx) {
|
||||
result = Input::prunedViableImplInCallContext(call, ctx)
|
||||
}
|
||||
|
||||
bindingset[call, ctx]
|
||||
predicate viableImplNotCallContextReduced(DataFlowCall call, Cc ctx) {
|
||||
Input::noPrunedViableImplInCallContext(call, ctx)
|
||||
}
|
||||
|
||||
bindingset[call, c]
|
||||
CcCall getCallContextCall(DataFlowCall call, DataFlowCallable c) {
|
||||
if Input::recordDataFlowCallSiteDispatch(call, c)
|
||||
|
@ -2621,15 +2621,6 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
|
|||
node.getEnclosingCallable())
|
||||
}
|
||||
|
||||
DataFlowCallable viableImplCallContextReduced(DataFlowCall call, CcCall ctx) {
|
||||
result = Input::prunedViableImplInCallContext(call, ctx)
|
||||
}
|
||||
|
||||
bindingset[call, ctx]
|
||||
predicate viableImplNotCallContextReduced(DataFlowCall call, Cc ctx) {
|
||||
Input::noPrunedViableImplInCallContext(call, ctx)
|
||||
}
|
||||
|
||||
bindingset[call, c]
|
||||
CcCall getCallContextCall(DataFlowCall call, DataFlowCallable c) {
|
||||
if
|
||||
|
|
Загрузка…
Ссылка в новой задаче