]> git.ipfire.org Git - thirdparty/gcc.git/commit
macro: Use MacroInvocation's node_id in ExternalItem constructor.
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 19 Mar 2024 12:12:20 +0000 (13:12 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 19 Mar 2024 12:15:24 +0000 (13:15 +0100)
commitadb56ef014effb17af27ab7baf0d87bc8bc48a0c
tree8b379c87d9ae19593fbe581b505e0e4f0a7a9fcf
parentebc1fc6853b7673b7301d88f4075bc2db3468643
macro: Use MacroInvocation's node_id in ExternalItem constructor.

gcc/rust/ChangeLog:

* ast/rust-macro.h: Use proper node id instead of the one in the base
Expr class - which is uninitialized.
gcc/rust/ast/rust-macro.h