Skip to content

Commit dfa6f28

Browse files
committed
QL: This is slightly faster without magic.
1 parent 63b8448 commit dfa6f28

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ql/src/codeql_ql/ast/internal/Type.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ private predicate qualifier(TypeExpr te, FileOrModule m, boolean public, string
283283
)
284284
}
285285

286+
pragma[nomagic]
286287
private predicate defines(FileOrModule m, string name, Type t, boolean public) {
287288
exists(Class ty | t = TClass(ty) |
288289
getEnclosingModule(ty) = m and

0 commit comments

Comments
 (0)