Update cpp/downgrades/1aa71a4a687fc93f807d4dfeeef70feceeced242/stmts.ql

This commit is contained in:
Jeroen Ketema
2025-01-20 10:43:00 +01:00
committed by GitHub
parent 6ad342c567
commit 378f0368af

View File

@@ -13,5 +13,5 @@ predicate isConstevalIf(Stmt stmt) {
from Stmt stmt, int kind, int kind_new, Location location
where
stmts(stmt, kind, location) and
if isConstevalIf(stmt) then kind_new = 7 else kind_new = kind // Turns consteval if into a block with two block statement in it
if isConstevalIf(stmt) then kind_new = 7 else kind_new = kind // Turns consteval if into a block with two block statements in it
select stmt, kind_new, location