]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add missing hir lowering to function type-path segments
authorPhilip Herron <philip.herron@embecosm.com>
Thu, 20 Oct 2022 16:59:27 +0000 (17:59 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 21 Feb 2023 11:36:40 +0000 (12:36 +0100)
commit875f722de5ead6e2e256bb62e13feb150617c381
tree673fa47f271a01968a9a538cf9badaf8351a6b35
parent12e94515f894be4a178c1a03ce42a23701515ee0
gccrs: Add missing hir lowering to function type-path segments

gcc/rust/ChangeLog:

* Make-lang.in: Compile rust-ast-lower-type.cc.
* ast/rust-path.h: Add `get_locus` method to `TypePathFunction`.
* hir/rust-ast-lower-base.cc (ASTLowerTypePath::visit): Move implementation to
rust-ast-lower-type.cc.
(ASTLowerQualifiedPathInType::visit): Likewise.
(ASTLoweringType::visit): Likewise.
* hir/rust-ast-lower-type.h: Move implementations to source file.
* hir/tree/rust-hir-path.h: Likewise.
* hir/rust-ast-lower-type.cc: New file.
gcc/rust/Make-lang.in
gcc/rust/ast/rust-path.h
gcc/rust/hir/rust-ast-lower-base.cc
gcc/rust/hir/rust-ast-lower-type.cc [new file with mode: 0644]
gcc/rust/hir/rust-ast-lower-type.h
gcc/rust/hir/tree/rust-hir-path.h