mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Rust: Run codegen
This commit is contained in:
@@ -398,7 +398,7 @@ callable_attrs(
|
||||
| @become_expr
|
||||
| @binary_expr
|
||||
| @break_expr
|
||||
| @call_expr_base
|
||||
| @call_expr
|
||||
| @cast_expr
|
||||
| @closure_expr
|
||||
| @continue_expr
|
||||
@@ -412,6 +412,7 @@ callable_attrs(
|
||||
| @macro_block_expr
|
||||
| @macro_expr
|
||||
| @match_expr
|
||||
| @method_call_expr
|
||||
| @offset_of_expr
|
||||
| @paren_expr
|
||||
| @path_expr_base
|
||||
@@ -1480,24 +1481,29 @@ break_expr_lifetimes(
|
||||
int lifetime: @lifetime ref
|
||||
);
|
||||
|
||||
@call_expr_base =
|
||||
@call_expr
|
||||
| @method_call_expr
|
||||
;
|
||||
call_exprs(
|
||||
unique int id: @call_expr
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
call_expr_base_arg_lists(
|
||||
int id: @call_expr_base ref,
|
||||
call_expr_arg_lists(
|
||||
int id: @call_expr ref,
|
||||
int arg_list: @arg_list ref
|
||||
);
|
||||
|
||||
#keyset[id, index]
|
||||
call_expr_base_attrs(
|
||||
int id: @call_expr_base ref,
|
||||
call_expr_attrs(
|
||||
int id: @call_expr ref,
|
||||
int index: int ref,
|
||||
int attr: @attr ref
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
call_expr_functions(
|
||||
int id: @call_expr ref,
|
||||
int function: @expr ref
|
||||
);
|
||||
|
||||
cast_exprs(
|
||||
unique int id: @cast_expr
|
||||
);
|
||||
@@ -2100,6 +2106,41 @@ match_expr_match_arm_lists(
|
||||
int match_arm_list: @match_arm_list ref
|
||||
);
|
||||
|
||||
method_call_exprs(
|
||||
unique int id: @method_call_expr
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
method_call_expr_arg_lists(
|
||||
int id: @method_call_expr ref,
|
||||
int arg_list: @arg_list ref
|
||||
);
|
||||
|
||||
#keyset[id, index]
|
||||
method_call_expr_attrs(
|
||||
int id: @method_call_expr ref,
|
||||
int index: int ref,
|
||||
int attr: @attr ref
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
method_call_expr_generic_arg_lists(
|
||||
int id: @method_call_expr ref,
|
||||
int generic_arg_list: @generic_arg_list ref
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
method_call_expr_identifiers(
|
||||
int id: @method_call_expr ref,
|
||||
int identifier: @name_ref ref
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
method_call_expr_receivers(
|
||||
int id: @method_call_expr ref,
|
||||
int receiver: @expr ref
|
||||
);
|
||||
|
||||
name_refs(
|
||||
unique int id: @name_ref
|
||||
);
|
||||
@@ -2776,16 +2817,6 @@ block_expr_stmt_lists(
|
||||
int stmt_list: @stmt_list ref
|
||||
);
|
||||
|
||||
call_exprs(
|
||||
unique int id: @call_expr
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
call_expr_functions(
|
||||
int id: @call_expr ref,
|
||||
int function: @expr ref
|
||||
);
|
||||
|
||||
extern_blocks(
|
||||
unique int id: @extern_block
|
||||
);
|
||||
@@ -2988,28 +3019,6 @@ macro_rules_visibilities(
|
||||
int visibility: @visibility ref
|
||||
);
|
||||
|
||||
method_call_exprs(
|
||||
unique int id: @method_call_expr
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
method_call_expr_generic_arg_lists(
|
||||
int id: @method_call_expr ref,
|
||||
int generic_arg_list: @generic_arg_list ref
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
method_call_expr_identifiers(
|
||||
int id: @method_call_expr ref,
|
||||
int identifier: @name_ref ref
|
||||
);
|
||||
|
||||
#keyset[id]
|
||||
method_call_expr_receivers(
|
||||
int id: @method_call_expr ref,
|
||||
int receiver: @expr ref
|
||||
);
|
||||
|
||||
modules(
|
||||
unique int id: @module
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user