Skip to content

Commit 50d8cca

Browse files
committed
JS: Sync ApiGraphModels.qll
1 parent 17f1bb4 commit 50d8cca

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

python/ql/lib/semmle/python/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ private predicate invocationMatchesCallSiteFilter(
492492
Specific::invocationMatchesExtraCallSiteFilter(invoke, token)
493493
}
494494

495+
overlay[local?]
495496
private class TypeModelUseEntry extends API::EntryPoint {
496497
private string type;
497498

@@ -505,6 +506,7 @@ private class TypeModelUseEntry extends API::EntryPoint {
505506
API::Node getNodeForType(string type_) { type = type_ and result = this.getANode() }
506507
}
507508

509+
overlay[local?]
508510
private class TypeModelDefEntry extends API::EntryPoint {
509511
private string type;
510512

ruby/ql/lib/codeql/ruby/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ private predicate invocationMatchesCallSiteFilter(
492492
Specific::invocationMatchesExtraCallSiteFilter(invoke, token)
493493
}
494494

495+
overlay[local?]
495496
private class TypeModelUseEntry extends API::EntryPoint {
496497
private string type;
497498

@@ -505,6 +506,7 @@ private class TypeModelUseEntry extends API::EntryPoint {
505506
API::Node getNodeForType(string type_) { type = type_ and result = this.getANode() }
506507
}
507508

509+
overlay[local?]
508510
private class TypeModelDefEntry extends API::EntryPoint {
509511
private string type;
510512

0 commit comments

Comments
 (0)