diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-12-04 15:09:58 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-21 12:33:12 +0100 |
commit | c482c358e3a724c8e258a3fc58230b931dd64747 (patch) | |
tree | 5d4427fc1f8c8ba507da2bd3443bdc9359a87934 /gcc/rust/resolve/rust-ast-resolve-path.cc | |
parent | 588ded8766e16fe2e9c2a657935cde519dad454e (diff) | |
download | gcc-c482c358e3a724c8e258a3fc58230b931dd64747.zip gcc-c482c358e3a724c8e258a3fc58230b931dd64747.tar.gz gcc-c482c358e3a724c8e258a3fc58230b931dd64747.tar.bz2 |
gccrs: ast: Add LangItemPath class
This commit adds a new kind of Path, changes the base Path class and turns TypePath
into a child of the base Path class.
gcc/rust/ChangeLog:
* ast/rust-path.h (class LangItemPath): New.
(class TypePath): Adapt to accomodate LangItemPath.
* ast/rust-ast.cc (TraitImpl::as_string): Use new checks for lang items.
(QualifiedPathType::as_string): Likewise.
(FormatArgs::set_outer_attrs): Likewise.
* ast/rust-item.h (class TraitImpl): Likewise.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions