aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const-call.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-09-15 11:08:13 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:32 +0100
commit150403984d818895e40629ea7c5369f32f96fc1c (patch)
tree702c49cdd9fda14ff768bb643b96326c5c5451f2 /gcc/fold-const-call.cc
parentd1e2f3dfbb643e45b2f6ad10fda231533b306417 (diff)
downloadgcc-150403984d818895e40629ea7c5369f32f96fc1c.zip
gcc-150403984d818895e40629ea7c5369f32f96fc1c.tar.gz
gcc-150403984d818895e40629ea7c5369f32f96fc1c.tar.bz2
gccrs: Add utility function to build proc macro types
Add some utility function to build proc macro entrypoint related types. Those functions will help generate all required metadata in order for proc macros to be expanded properly. gcc/rust/ChangeLog: * backend/rust-compile.cc (build_attribute_array): Add a function to build the attribute array type. (build_derive_proc_macro): Add a function to build the derive proc macro type. (build_bang_proc_macro): Add a function to build the bang proc macro type. (build_attribute_proc_macro): Add a function to build the attribute proc macro type. (build_proc_macro): Add a function to build the proc macro tagged union type. (build_proc_macro_buffer): Add a function to build the proc macro buffer type. (build_entrypoint): Add a function to build the proc macro entrypoint type. * backend/rust-compile.h: Add function prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/fold-const-call.cc')
0 files changed, 0 insertions, 0 deletions