gcc/libgrust
Pierre-Emmanuel Patry f7af0b90ef gccrs: libproc_macro: Change Ident structure
Use FFIString in Ident structure rather that a raw pointer and a
length, this will reduce the size of the code dealing with raw
pointers. Which should prevent some error.

gcc/rust/ChangeLog:

	* util/rust-token-converter.cc (from_ident): Adapt code to new
	constructor.

libgrust/ChangeLog:

	* libproc_macro/ident.cc (Ident__new): Constructor
	accepts an FFIString now.
	(Ident__new_raw): Likewise.
	(Ident::clone): Internal members change means clone also change.
	(Ident::make_ident): Change constructor call.
	(Ident::drop): Add call to FFIString::clone.
	* libproc_macro/ident.h (struct Ident): Remove raw
	pointer and length, add an FFIString inside instead.
	(Ident__new): Change constructor.
	(Ident__new_raw): Change constructor.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
2024-01-16 18:55:56 +01:00
..
libproc_macro gccrs: libproc_macro: Change Ident structure 2024-01-16 18:55:56 +01:00
aclocal.m4
ChangeLog Daily bump. 2024-01-09 00:17:50 +00:00
configure libgrust: 'AM_ENABLE_MULTILIB' only for target builds [PR113056] 2024-01-08 12:01:05 +01:00
configure.ac libgrust: 'AM_ENABLE_MULTILIB' only for target builds [PR113056] 2024-01-08 12:01:05 +01:00
Makefile.am gccrs: libproc_macro: Build statically 2024-01-16 18:34:16 +01:00
Makefile.in gccrs: libproc_macro: Build statically 2024-01-16 18:34:16 +01:00