mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
QL: Dont ask me to inline cached predicates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user