mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
QL4QL: Add discard predicate to dead code test
This commit is contained in:
@@ -66,3 +66,6 @@ private class CImpl1 extends AstNode { }
|
||||
final class CPublic1 = CImpl1;
|
||||
|
||||
private class CImpl2 extends AstNode { }
|
||||
|
||||
overlay[discard_entity]
|
||||
private predicate discard(@foo x) { any() }
|
||||
|
||||
Reference in New Issue
Block a user