mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a8020f4f78
commit
2908acfb52
@@ -1296,9 +1296,9 @@ private module GetConvertedResultExpression {
|
||||
private predicate excludeAsDefinitionResult(StoreInstruction store) {
|
||||
// Exclude the store to the temporary generated by a ternary expression.
|
||||
exists(TranslatedConditionalExpr tce |
|
||||
store = tce.getInstruction(any(ConditionValueFalseStoreTag tag))
|
||||
store = tce.getInstruction(ConditionValueFalseStoreTag())
|
||||
or
|
||||
store = tce.getInstruction(any(ConditionValueTrueStoreTag tag))
|
||||
store = tce.getInstruction(ConditionValueTrueStoreTag())
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user