mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Data flow: Allow nodes to be hidden from path explanations
This commit is contained in:
@@ -338,3 +338,6 @@ int accessPathLimit() { result = 5 }
|
||||
predicate isImmutableOrUnobservable(Node n) {
|
||||
n.getType() instanceof ImmutableType or n instanceof ImplicitVarargsArray
|
||||
}
|
||||
|
||||
/** Holds if `n` should be hidden from path explanations. */
|
||||
predicate nodeIsHidden(Node n) { none() }
|
||||
|
||||
Reference in New Issue
Block a user