]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Move the Implementation of implitem lowering into its own file.
authorNobel Singh <nobel2073@gmail.com>
Mon, 29 Jan 2024 22:35:03 +0000 (04:20 +0545)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 7 Feb 2024 11:40:23 +0000 (12:40 +0100)
commit955f332446f5f4f2025020e07cd01e9727cbd032
tree73c9543f5aebcfa46ec175d6b4bfc5d96b61ceab
parentc91248d1de2f83861a41b5f16d78b198d8a6bb44
gccrs: Move the Implementation of implitem lowering into its own file.

This patch moves the implementation of the implitem lowering
from rust-ast-lower-implitem.h into the rust-ast-lower-implitem.cc
file.

gcc/rust/ChangeLog:

* Make-lang.in: Add rust-ast-lower-implitem.cc to list of objects.
* hir/rust-ast-lower-implitem.h (RUST_AST_LOWER_IMPLITEM_H): Remove
implementation.
* hir/rust-ast-lower-implitem.cc: Copy implementation from header.

Signed-off-by: Nobel Singh <Nobel2073@gmail.com>
gcc/rust/Make-lang.in
gcc/rust/hir/rust-ast-lower-implitem.cc [new file with mode: 0644]
gcc/rust/hir/rust-ast-lower-implitem.h