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 {
1125
1125
1126
1126
/** An static single assignment (SSA) definition. */
1127
1127
class 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
+ }
1131
1133
1132
1134
/**
1133
1135
* Gets a definition that ultimately defines this SSA definition and is
You can’t perform that action at this time.
0 commit comments