aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-11-08 10:50:00 +0100
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-11-14 18:27:16 +0000
commit47662833deb0864870d3cc5868506484eb2f9c1e (patch)
treef1f13d7de10906554d0c8822dcf5983176f838f1 /gcc/rust/resolve
parent7582c73ba8513d64773aed7fb54cb4970e7cfe6d (diff)
downloadgcc-47662833deb0864870d3cc5868506484eb2f9c1e.zip
gcc-47662833deb0864870d3cc5868506484eb2f9c1e.tar.gz
gcc-47662833deb0864870d3cc5868506484eb2f9c1e.tar.bz2
Add new keyword utility class
Much like attributes values, keywords are known beforehand and never change. Instead of relying on handcrafted string we could centralize everything in one place. We may require to check whether a word is a keyword, which can now be done easily thanks to the keyword set. gcc/rust/ChangeLog: * Make-lang.in: Add rust-keyword-values.cc to the list. * util/rust-keyword-values.cc: New file. * util/rust-keyword-values.h: New file. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions