@@ -90,7 +90,7 @@ import internal.ExternalFlowExtensions as FlowExtensions
90
90
private import FlowSummary as FlowSummary
91
91
private import internal.DataFlowPrivate
92
92
private import internal.FlowSummaryImpl
93
- private import internal.FlowSummaryImpl:: Public
93
+ private import internal.FlowSummaryImpl:: Public as Public
94
94
private import internal.FlowSummaryImpl:: Private
95
95
private import internal.FlowSummaryImpl:: Private:: External
96
96
private import codeql.mad.ModelValidation as SharedModelVal
@@ -583,13 +583,13 @@ predicate sourceNode(DataFlow::Node node, string kind) { sourceNode(node, kind,
583
583
predicate sinkNode ( DataFlow:: Node node , string kind ) { sinkNode ( node , kind , _) }
584
584
585
585
// adapter class for converting Mad summaries to `SummarizedCallable`s
586
- private class SummarizedCallableAdapter extends SummarizedCallable {
586
+ private class SummarizedCallableAdapter extends Public :: SummarizedCallable {
587
587
SummarizedCallableAdapter ( ) { summaryElement ( this , _, _, _, _, _) }
588
588
589
589
private predicate relevantSummaryElementManual (
590
590
string input , string output , string kind , string model
591
591
) {
592
- exists ( Provenance provenance |
592
+ exists ( Public :: Provenance provenance |
593
593
summaryElement ( this , input , output , kind , provenance , model ) and
594
594
provenance .isManual ( )
595
595
)
@@ -598,11 +598,11 @@ private class SummarizedCallableAdapter extends SummarizedCallable {
598
598
private predicate relevantSummaryElementGenerated (
599
599
string input , string output , string kind , string model
600
600
) {
601
- exists ( Provenance provenance |
601
+ exists ( Public :: Provenance provenance |
602
602
summaryElement ( this , input , output , kind , provenance , model ) and
603
603
provenance .isGenerated ( )
604
604
) and
605
- not exists ( Provenance provenance |
605
+ not exists ( Public :: Provenance provenance |
606
606
neutralElement ( this , "summary" , provenance ) and
607
607
provenance .isManual ( )
608
608
)
@@ -621,7 +621,7 @@ private class SummarizedCallableAdapter extends SummarizedCallable {
621
621
)
622
622
}
623
623
624
- override predicate hasProvenance ( Provenance provenance ) {
624
+ override predicate hasProvenance ( Public :: Provenance provenance ) {
625
625
summaryElement ( this , _, _, _, provenance , _)
626
626
}
627
627
}
0 commit comments