mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
C++: Add support for constexpr if
This commit is contained in:
@@ -1639,6 +1639,7 @@ case @stmt.kind of
|
||||
// ... 32 @stmt_at_synchronized deprecated
|
||||
| 33 = @stmt_handler
|
||||
// ... 34 @stmt_finally_end deprecated
|
||||
| 35 = @stmt_constexpr_if
|
||||
;
|
||||
|
||||
type_vla(
|
||||
@@ -1661,6 +1662,16 @@ if_else(
|
||||
int else_id: @stmt ref
|
||||
);
|
||||
|
||||
constexpr_if_then(
|
||||
unique int constexpr_if_stmt: @stmt_constexpr_if ref,
|
||||
int then_id: @stmt ref
|
||||
);
|
||||
|
||||
constexpr_if_else(
|
||||
unique int constexpr_if_stmt: @stmt_constexpr_if ref,
|
||||
int else_id: @stmt ref
|
||||
);
|
||||
|
||||
while_body(
|
||||
unique int while_stmt: @stmt_while ref,
|
||||
int body_id: @stmt ref
|
||||
|
||||
Reference in New Issue
Block a user