]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ast-builder: Add methods for QualifiedPathInExpressions
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Jan 2025 12:07:48 +0000 (13:07 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 24 Mar 2025 12:07:02 +0000 (13:07 +0100)
commit5d1ba7c2243d9bb36718f83322a26e0ce13f89fd
treec74c35969e69e8d702f42fc57fff2e500b1f929a
parent6711c73135612c02aab536899917eb3413a8327d
gccrs: ast-builder: Add methods for QualifiedPathInExpressions

gcc/rust/ChangeLog:

* ast/rust-ast-builder.cc (Builder::qualified_path_in_expression): New.
(Builder::function): Change the return type.
* ast/rust-ast-builder.h: Declare qualified_path_in_expression functions.
* expand/rust-derive-debug.cc (DeriveDebug::stub_debug_fn): Adapt to new APIs.
gcc/rust/ast/rust-ast-builder.cc
gcc/rust/ast/rust-ast-builder.h
gcc/rust/expand/rust-derive-debug.cc