aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-08-23 16:27:23 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2022-12-13 14:00:05 +0100
commit2e7fc8780e0d5009bc8edd116378a25dea8cb1fa (patch)
tree42385a3fd9a961a9295df6daadd9e4f21f474430 /gcc/rust/backend
parent9a4fee5f57c1ba6844407f81a6a40c30bc2735d4 (diff)
downloadgcc-2e7fc8780e0d5009bc8edd116378a25dea8cb1fa.zip
gcc-2e7fc8780e0d5009bc8edd116378a25dea8cb1fa.tar.gz
gcc-2e7fc8780e0d5009bc8edd116378a25dea8cb1fa.tar.bz2
gccrs: Add attributes checker
The attribute checker is responsible for checking the validity of various attributes including built-in ones. It is currently unfinished and will receive some modifications, as well as become the host of some existing code in the compiler which needs to be refactored. One of its responsibilities is to make sure that arguments given to built-in attributes are correct, or contain the correct type of information. This visitor also checks that an attribute is allowed to be used in the current particular context. gcc/rust/ * util/rust-attributes.cc: New. * util/rust-attributes.h: New.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions