diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-12-04 15:09:58 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-12-09 14:46:13 +0000 |
commit | d2025fe536db08effbe6b82bca8eeec67a55f4a4 (patch) | |
tree | a8fa730713db3fce81ec037927cbb226c36b298f /gcc/tree-ssa-loop.cc | |
parent | b1273464c26b0f99f373889806b97786f54dc0bc (diff) | |
download | gcc-d2025fe536db08effbe6b82bca8eeec67a55f4a4.zip gcc-d2025fe536db08effbe6b82bca8eeec67a55f4a4.tar.gz gcc-d2025fe536db08effbe6b82bca8eeec67a55f4a4.tar.bz2 |
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/tree-ssa-loop.cc')
0 files changed, 0 insertions, 0 deletions