aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-12-12 18:30:09 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-24 13:06:56 +0100
commit178e5f85b48918f49d194b1c48635b2130646578 (patch)
treef0689dfc49e6001616608ac6c20be2824d55d47c /libobjc
parent0529a772896c36fd72565710c587ce6103a05d2a (diff)
downloadgcc-178e5f85b48918f49d194b1c48635b2130646578.zip
gcc-178e5f85b48918f49d194b1c48635b2130646578.tar.gz
gcc-178e5f85b48918f49d194b1c48635b2130646578.tar.bz2
gccrs: Clone expr instead of taking it
We're reusing the value, it could therefore not be taken be should be cloned. gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-enumitem.cc (TypeCheckEnumItem::visit): Clone expr instead of taking it. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions