diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-02-27 13:35:50 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-02-29 15:52:44 +0000 |
commit | e9de5b410da43cb2ac5f9865756153648e6f078b (patch) | |
tree | baae5c1180b8fccafa02e67e89dee059f5368d80 /gcc/rust/hir/rust-hir-dump.cc | |
parent | 4e51e84d86629fa57ad8ac9849c4d582f442bb94 (diff) | |
download | gcc-e9de5b410da43cb2ac5f9865756153648e6f078b.zip gcc-e9de5b410da43cb2ac5f9865756153648e6f078b.tar.gz gcc-e9de5b410da43cb2ac5f9865756153648e6f078b.tar.bz2 |
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/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions