File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
shared/dataflow/codeql/dataflow/internal Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2506,10 +2506,7 @@ module Make<
25062506 }
25072507
25082508 private string renderProvenance ( SummarizedCallable c ) {
2509- exists ( Provenance p | p .isManual ( ) and c .hasProvenance ( p ) and result = p .toString ( ) )
2510- or
2511- not c .applyManualModel ( ) and
2512- c .hasProvenance ( result )
2509+ if c .hasManualModel ( ) then result = "manual" else result = "generated"
25132510 }
25142511
25152512 /**
@@ -2549,10 +2546,7 @@ module Make<
25492546 class RelevantNeutralCallable = RelevantNeutralCallableInput:: RelevantNeutralCallable ;
25502547
25512548 private string renderProvenance ( NeutralCallableInput c ) {
2552- exists ( Provenance p | p .isManual ( ) and c .hasProvenance ( p ) and result = p .toString ( ) )
2553- or
2554- not c .hasManualModel ( ) and
2555- c .hasProvenance ( result )
2549+ if c .hasManualModel ( ) then result = "manual" else result = "generated"
25562550 }
25572551
25582552 /**
You can’t perform that action at this time.
0 commit comments