Skip to content

Commit 09862b9

Browse files
committed
QL: cache getClassPredicate
1 parent 932f00b commit 09862b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Type extends TType {
7676
p2 = classPredCandidate(this, name, arity)
7777
}
7878

79-
pragma[nomagic]
79+
cached
8080
PredicateOrBuiltin getClassPredicate(string name, int arity) {
8181
result = classPredCandidate(this, name, arity) and
8282
not getClassPredicate1(name, arity, _, result)

0 commit comments

Comments
 (0)