gcc/libgrust/libproc_macro
Pierre-Emmanuel Patry 2698707419 gccrs: libproc_macro: Fix literal drop function
Fix drop function by changing the delete operator to delete[] in order
to avoid undefined behaviors.

libgrust/ChangeLog:

	* libproc_macro/literal.cc (Literal::drop): Change
	delete operator to delete[].

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
2024-01-16 18:34:12 +01:00
..
rust gccrs: libproc_macro: Implement Drop for TokenStream 2024-01-16 18:34:12 +01:00
group.cc gccrs: libproc_macro: Add remaining drop functions 2024-01-16 18:34:12 +01:00
group.h gccrs: libproc_macro: Add remaining drop functions 2024-01-16 18:34:12 +01:00
ident.cc gccrs: libproc_macro: Add drop function on Ident struct 2024-01-16 18:34:11 +01:00
ident.h gccrs: libproc_macro: Add drop function on Ident struct 2024-01-16 18:34:11 +01:00
literal.cc gccrs: libproc_macro: Fix literal drop function 2024-01-16 18:34:12 +01:00
literal.h gccrs: libproc_macro: Add drop function to Literal struct 2024-01-16 18:34:11 +01:00
Makefile.am
Makefile.in
proc_macro.cc gccrs: libproc_macro: Add license headers 2024-01-16 18:34:09 +01:00
proc_macro.h gccrs: libproc_macro: Add Literal type 2024-01-16 18:34:10 +01:00
punct.cc gccrs: libproc_macro: Add Punct struct 2024-01-16 18:34:11 +01:00
punct.h gccrs: libproc_macro: Add Punct struct 2024-01-16 18:34:11 +01:00
tokenstream.cc gccrs: libproc_macro: Add remaining drop functions 2024-01-16 18:34:12 +01:00
tokenstream.h gccrs: libproc_macro: Add remaining drop functions 2024-01-16 18:34:12 +01:00
tokentree.cc gccrs: libproc_macro: Add remaining drop functions 2024-01-16 18:34:12 +01:00
tokentree.h gccrs: libproc_macro: Add remaining drop functions 2024-01-16 18:34:12 +01:00