QL: This is slightly faster without magic.

This commit is contained in:
Anders Schack-Mulligen
2021-10-14 13:12:26 +02:00
parent 63b844856d
commit dfa6f285e5

View File

@@ -283,6 +283,7 @@ private predicate qualifier(TypeExpr te, FileOrModule m, boolean public, string
)
}
pragma[nomagic]
private predicate defines(FileOrModule m, string name, Type t, boolean public) {
exists(Class ty | t = TClass(ty) |
getEnclosingModule(ty) = m and