diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-02-27 13:35:50 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-08-01 13:11:29 +0200 |
commit | 3c04d95309692746ca36b1cdb4242d0984dd1473 (patch) | |
tree | 2fc6a4a9886bfc53feceb9f8aa8a119d650e2110 /gcc/rust/hir/tree | |
parent | 5d30562dcfa59d86210976c92d187f0d86f64be4 (diff) | |
download | gcc-3c04d95309692746ca36b1cdb4242d0984dd1473.zip gcc-3c04d95309692746ca36b1cdb4242d0984dd1473.tar.gz gcc-3c04d95309692746ca36b1cdb4242d0984dd1473.tar.bz2 |
gccrs: lang-items: Cleanup parsing and lookups of lang items.
gcc/rust/ChangeLog:
* Make-lang.in: Compile new rust-lang-item.o.
* util/rust-lang-item.h: Split into header and source.
* util/rust-lang-item.cc: Cleanup parsing of lang items by using a hashmap
and returning optional values, cleanup handling of exhaustive lang item
lookups.
* hir/rust-ast-lower-base.cc (ASTLoweringBase::handle_lang_item_attribute): Use
new optional API.
Diffstat (limited to 'gcc/rust/hir/tree')
0 files changed, 0 insertions, 0 deletions