mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +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
|
from Stmt stmt, int kind, int kind_new, Location location
|
||||||
where
|
where
|
||||||
stmts(stmt, kind, location) and
|
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
|
select stmt, kind_new, location
|
||||||
|
|||||||
Reference in New Issue
Block a user