mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Merge pull request #12043 from jketema/subpaths
C++: Fix missing subpaths when displaying dataflow paths
This commit is contained in:
@@ -692,7 +692,11 @@ class Unit extends TUnit {
|
||||
}
|
||||
|
||||
/** Holds if `n` should be hidden from path explanations. */
|
||||
predicate nodeIsHidden(Node n) { n instanceof OperandNode and not n instanceof ArgumentNode }
|
||||
predicate nodeIsHidden(Node n) {
|
||||
n instanceof OperandNode and
|
||||
not n instanceof ArgumentNode and
|
||||
not n.asOperand() instanceof StoreValueOperand
|
||||
}
|
||||
|
||||
class LambdaCallKind = Unit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user