QL: Dont ask me to inline cached predicates

This commit is contained in:
Asger F
2023-04-12 20:33:21 +02:00
parent d049b112a9
commit 2f82f4338a

View File

@@ -17,6 +17,7 @@ where
not decl.getAnAnnotation() instanceof NoInline and
not decl.getAnAnnotation() instanceof NoMagic and
not decl.getAnAnnotation() instanceof NoOpt and
not decl.getAnAnnotation().getName() = "cached" and
// If it's marked as inline it's probably because the QLDoc says something like
// "this predicate is inlined because it gives a better join-order".
not decl.getAnAnnotation() instanceof Inline