aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-12-04 15:09:58 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-21 12:33:12 +0100
commitc482c358e3a724c8e258a3fc58230b931dd64747 (patch)
tree5d4427fc1f8c8ba507da2bd3443bdc9359a87934 /gcc/rust/resolve
parent588ded8766e16fe2e9c2a657935cde519dad454e (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions