Skip to content

Commit 2908acf

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent a8020f4 commit 2908acf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,9 +1296,9 @@ private module GetConvertedResultExpression {
12961296
private predicate excludeAsDefinitionResult(StoreInstruction store) {
12971297
// Exclude the store to the temporary generated by a ternary expression.
12981298
exists(TranslatedConditionalExpr tce |
1299-
store = tce.getInstruction(any(ConditionValueFalseStoreTag tag))
1299+
store = tce.getInstruction(ConditionValueFalseStoreTag())
13001300
or
1301-
store = tce.getInstruction(any(ConditionValueTrueStoreTag tag))
1301+
store = tce.getInstruction(ConditionValueTrueStoreTag())
13021302
)
13031303
}
13041304

0 commit comments

Comments
 (0)