File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1125,9 +1125,11 @@ class PhiNode extends Definition instanceof SsaImpl::PhiNode {
11251125
11261126/** An static single assignment (SSA) definition. */
11271127class Definition extends SsaImpl:: Definition {
1128- // TODO: Include prior definitions of uncertain writes or rename predicate
1129- // i.e. the disjunct `SsaImpl::uncertainWriteDefinitionInput(this, result)`
1130- private Definition getAPhiInputOrPriorDefinition ( ) { result = this .( PhiNode ) .getAnInput ( ) }
1128+ private Definition getAPhiInputOrPriorDefinition ( ) {
1129+ result = this .( PhiNode ) .getAnInput ( )
1130+ or
1131+ SsaImpl:: uncertainWriteDefinitionInput ( this , result )
1132+ }
11311133
11321134 /**
11331135 * Gets a definition that ultimately defines this SSA definition and is
You can’t perform that action at this time.
0 commit comments