aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-07-10 14:43:18 -0400
committerCohenArthur <arthur.cohen@embecosm.com>2023-07-12 08:11:15 +0000
commitd8b86f0d25ff534f96d240f81220464df9f21482 (patch)
treecae87a4b6688b0d32cb3d96c59cb8316e79561df /gcc/rust/hir
parentb68dd7e641dd9bf4afa32caa107dc67468d805d2 (diff)
downloadgcc-d8b86f0d25ff534f96d240f81220464df9f21482.zip
gcc-d8b86f0d25ff534f96d240f81220464df9f21482.tar.gz
gcc-d8b86f0d25ff534f96d240f81220464df9f21482.tar.bz2
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/rust/hir')
0 files changed, 0 insertions, 0 deletions