]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: backend: Improve handling of lang-item PathInExpressions
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 24 Jan 2025 09:42:54 +0000 (10:42 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:06:55 +0000 (13:06 +0100)
commit75325a325123e0797f60d541ea8f8b5aa970bd76
tree3619720169999acc14712b385bc6e8ee5f1f724f
parent1b745da3ae583e853af0e453400c674a6363e72b
gccrs: backend: Improve handling of lang-item PathInExpressions

gcc/rust/ChangeLog:

* backend/rust-compile-resolve-path.cc (ResolvePathRef::visit): Call into
resolve_path_like instead.
(ResolvePathRef::resolve_path_like): New.
(ResolvePathRef::resolve): Call into resolve_with_node_id.
* backend/rust-compile-resolve-path.h: Declare new functions and document them.
gcc/rust/backend/rust-compile-resolve-path.cc
gcc/rust/backend/rust-compile-resolve-path.h