]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Add name resolution and ast lowering for slice pattern
authorMahmoud Mohamed <mahadelr19@gmail.com>
Mon, 20 Mar 2023 12:31:28 +0000 (15:31 +0300)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:21:13 +0000 (18:21 +0100)
commitb9dcaf8ee7ecac7bd8c2f09d2b4712fb96721386
tree606d6e0b2d71d07ba7a9ed78ede3f37fcb51bd20
parent5130c17766bddac0ca8d60a92151b2817aa32ae1
gccrs: Add name resolution and ast lowering for slice pattern

gcc/rust/ChangeLog:

* hir/rust-ast-lower-pattern.cc (ASTLoweringPattern::visit):
Add lowering for SlicePattern.
* hir/rust-ast-lower-pattern.h: Likewise.
* resolve/rust-ast-resolve-pattern.cc (PatternDeclaration::visit):
Add name resolution visit for SlicePattern.
* resolve/rust-ast-resolve-pattern.h: Likewise.

Signed-off-by: Mahmoud Mohamed <mahadelr19@gmail.com>
gcc/rust/hir/rust-ast-lower-pattern.cc
gcc/rust/hir/rust-ast-lower-pattern.h
gcc/rust/resolve/rust-ast-resolve-pattern.cc
gcc/rust/resolve/rust-ast-resolve-pattern.h