aboutsummaryrefslogtreecommitdiff
path: root/gcc/context.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-23 15:00:54 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:34 +0100
commit3a874d936b2fcbb1c77b146d8b1d651e52eb618f (patch)
tree8fa93d8cb7094eb4b993d9c547ee052b1003bd57 /gcc/context.h
parent0f04ac6eecd1214fe7403945874e125f92d58d9c (diff)
downloadgcc-3a874d936b2fcbb1c77b146d8b1d651e52eb618f.zip
gcc-3a874d936b2fcbb1c77b146d8b1d651e52eb618f.tar.gz
gcc-3a874d936b2fcbb1c77b146d8b1d651e52eb618f.tar.bz2
gccrs: Document proc macro token tree indices
Multiple references to procedural macro token trees were left as magic number in the code. This commit introduces some constexpr for those along some explanation for the selected value. gcc/rust/ChangeLog: * backend/rust-compile-base.cc (get_attributes): Add documentation for indices 3 and 4. (get_trait_name): Add documentation for index 1. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/context.h')
0 files changed, 0 insertions, 0 deletions