mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Update cpp/downgrades/1aa71a4a687fc93f807d4dfeeef70feceeced242/stmts.ql
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user