Skip to content

Commit 8a3cff9

Browse files
committed
Remove a few overlay[caller] annotations to test warning
1 parent 81a69a9 commit 8a3cff9

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

java/ql/lib/semmle/code/java/Type.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,6 @@ class RefType extends Type, Annotatable, Modifiable, @reftype {
670670
*
671671
* For the definition of the notion of *erasure* see JLS v8, section 4.6 (Type Erasure).
672672
*/
673-
overlay[caller]
674673
pragma[inline]
675674
RefType commonSubtype(RefType other) {
676675
result.getASourceSupertype*() = erase(this) and

shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,6 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
744744
viableImplNotCallContextReducedInlineLate(call, outercc)
745745
}
746746

747-
overlay[caller]
748747
pragma[inline]
749748
private predicate fwdFlowInCand(
750749
Call call, ArgNd arg, Cc outercc, Callable inner, ParamNd p, SummaryCtx summaryCtx,
@@ -796,7 +795,6 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
796795
innercc = getCallContextCall(call, inner)
797796
}
798797

799-
overlay[caller]
800798
pragma[inline]
801799
predicate fwdFlowIn(
802800
Call call, ArgNd arg, Callable inner, ParamNd p, Cc outercc, CcCall innercc,

0 commit comments

Comments
 (0)