aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-05-23 16:45:08 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:26 +0100
commitcf58150bea85a633247c77f1989c6389c8eb7974 (patch)
tree46222aedcf3b03f5a4343694d8323f6823d6097e /gcc/rust/Make-lang.in
parent22ba7ea9eecbd1a19757d694b84e5a80b811b003 (diff)
downloadgcc-cf58150bea85a633247c77f1989c6389c8eb7974.zip
gcc-cf58150bea85a633247c77f1989c6389c8eb7974.tar.gz
gcc-cf58150bea85a633247c77f1989c6389c8eb7974.tar.bz2
gccrs: libproc_macro: Fix Tokenstream growth
TokenStream did not copy back enough old data to the new location. This commit also add more explicit memcpy usages in order to facilitate change to utf-8 later. libgrust/ChangeLog: * libproc_macro/ffistring.cc (FFIString::make_ffistring): Add explicit sizeof and utf-8 warning. (FFIString::clone): Add explicit sizeof and utf-8 warning. * libproc_macro/ident.cc (Ident::clone): Likewise. (Ident::make_ident): Likewise. * libproc_macro/tokenstream.cc (TokenStream::grow): Fix vector growth. (TokenStream__clone): Add explicit sizeof. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions