mirror of
https://github.com/github/codeql.git
synced 2026-02-08 11:11:06 +01:00
cache getClassPredicate
This commit is contained in:
@@ -76,7 +76,7 @@ class Type extends TType {
|
||||
p2 = classPredCandidate(this, name, arity)
|
||||
}
|
||||
|
||||
pragma[nomagic]
|
||||
cached
|
||||
PredicateOrBuiltin getClassPredicate(string name, int arity) {
|
||||
result = classPredCandidate(this, name, arity) and
|
||||
not getClassPredicate1(name, arity, _, result)
|
||||
|
||||
Reference in New Issue
Block a user