diff options
author | Faisal Abbas <90.abbasfaisal@gmail.com> | 2022-07-18 16:07:22 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-08-25 12:40:24 +0100 |
commit | a00b61e6bfc4a79af55236db0e602e09cd8fda72 (patch) | |
tree | 372b21fad7406485934f78a8d48c682901a9d832 /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | 7c13a2e5873f5919c00b5f37b6db52af8d0f7300 (diff) | |
download | gcc-a00b61e6bfc4a79af55236db0e602e09cd8fda72.zip gcc-a00b61e6bfc4a79af55236db0e602e09cd8fda72.tar.gz gcc-a00b61e6bfc4a79af55236db0e602e09cd8fda72.tar.bz2 |
gccrs const folding port: continue porting potential_constant_expression_1()
Following functions are ported in this changeset:
- find_heap_var_refs
- find_immediate_fndecl
- instantiation_dependent_expression_p
- cp_get_callee
- build_nop
- scalarish_type_p
- type_has_nontrivial_copy_init
- build_local_temp
- is_normal_capture_proxy
- reject_gcc_builtin
- is_bitfield_expr_with_lowered_type
- maybe_undo_parenthesized_ref
- fold_offsetof
- char_type_p
- resolve_nondeduced_context
- null_node_p
Following structs, classes and enums are ported in this changeset:
- c_tree_index
- warning_sentinel
- uid_sensitive_constexpr_evaluation_checker
- iloc_sentinel
- ptrmem_cst
This changeset puts c_global_trees and cp_global_trees outside Rust and Compile
namespaces because keeping them inside is causing build issues.
This is possibly because rust-tree.cc contains only Rust namespace while
rust-constexpr.cc is Rust+Compile namespace. This causes issues when trying to use
them inside both files.
Signed-off-by: Faisal Abbas <90.abbasfaisal@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions