diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-10 14:43:18 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:49:36 +0100 |
commit | 805cb985847ab6fec91081ee625240e2d9129a1c (patch) | |
tree | 5eed9553d91bd3c6c2d729f3e18513b1c7401efb /gcc/obstack-utils.h | |
parent | e659eca9f3b9c167c37a7862cb45d996fb784a6f (diff) | |
download | gcc-805cb985847ab6fec91081ee625240e2d9129a1c.zip gcc-805cb985847ab6fec91081ee625240e2d9129a1c.tar.gz gcc-805cb985847ab6fec91081ee625240e2d9129a1c.tar.bz2 |
gccrs: Remove unnecessary usage of Location copy constructor
gcc/rust/ChangeLog:
* ast/rust-expr.h
(MetaItemPathLit::get_locus): Remove copy construction.
* backend/rust-constexpr.cc
(eval_constant_expression): Likewise.
(is_valid_constexpr_fn): Likewise.
* util/rust-token-converter.cc
(convert): Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/obstack-utils.h')
0 files changed, 0 insertions, 0 deletions