1+ overlay [ local?]
2+ module ;
3+
14private import codeql.dataflow.DataFlow
25private import codeql.typetracking.TypeTracking as Tt
36private import codeql.util.Location
@@ -674,6 +677,7 @@ module MakeImplCommon<LocationSig Location, InputSig<Location> Lang> {
674677
675678 class CcCall = CallContextCall ;
676679
680+ overlay [ caller]
677681 pragma [ inline]
678682 predicate matchesCall ( CcCall cc , Call call ) {
679683 cc = Input2:: getSpecificCallContextCall ( call , _) or
@@ -885,6 +889,7 @@ module MakeImplCommon<LocationSig Location, InputSig<Location> Lang> {
885889 pragma [ nomagic]
886890 private Callable getEnclosingCallable0 ( ) { nodeEnclosingCallable ( this .projectToNode ( ) , result ) }
887891
892+ overlay [ caller]
888893 pragma [ inline]
889894 Callable getEnclosingCallable ( ) {
890895 pragma [ only_bind_out ] ( this ) .getEnclosingCallable0 ( ) = pragma [ only_bind_into ] ( result )
@@ -899,6 +904,7 @@ module MakeImplCommon<LocationSig Location, InputSig<Location> Lang> {
899904 isTopType ( result ) and this .isImplicitReadNode ( _)
900905 }
901906
907+ overlay [ caller]
902908 pragma [ inline]
903909 Type getType ( ) { pragma [ only_bind_out ] ( this ) .getType0 ( ) = pragma [ only_bind_into ] ( result ) }
904910
@@ -2410,12 +2416,14 @@ module MakeImplCommon<LocationSig Location, InputSig<Location> Lang> {
24102416 * predicate ensures that joins go from `n` to the result instead of the other
24112417 * way around.
24122418 */
2419+ overlay [ caller]
24132420 pragma [ inline]
24142421 Callable getNodeEnclosingCallable ( Node n ) {
24152422 nodeEnclosingCallable ( pragma [ only_bind_out ] ( n ) , pragma [ only_bind_into ] ( result ) )
24162423 }
24172424
24182425 /** Gets the type of `n` used for type pruning. */
2426+ overlay [ caller]
24192427 pragma [ inline]
24202428 Type getNodeDataFlowType ( Node n ) {
24212429 nodeType ( pragma [ only_bind_out ] ( n ) , pragma [ only_bind_into ] ( result ) )
0 commit comments