]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/rust/hir/tree/rust-hir-item.h
gccrs: add Location to AST::Visibility
authorDave <dme2223@gmail.com>
Thu, 10 Nov 2022 05:17:50 +0000 (23:17 -0600)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 21 Feb 2023 11:36:45 +0000 (12:36 +0100)
commitb84222899cac417ec1aa5dad8311836e4aae028f
tree2e52996d37cc202cabc05be54eddb71b6cb7d9a3
parent2fc01303604110de368cc115d951efa3d3a1963d
gccrs: add Location to AST::Visibility

gcc/rust/ChangeLog:

* ast/rust-item.h: Add location member.
* hir/rust-ast-lower.cc (translate_visibility): Pass location argument.
* hir/tree/rust-hir-item.h: Fix constructor to accept Location argument.
gcc/rust/ast/rust-item.h
gcc/rust/hir/rust-ast-lower.cc
gcc/rust/hir/tree/rust-hir-item.h