Pierre-Emmanuel Patry 0680907b3b gccrs: proc_macro: Add literal_from_string callback
The function to get a literal from a string missed an implementation.
It did require a conversion function to achieve it, now that callback
system has been merged this function can be easily implemented.

gcc/rust/ChangeLog:

	* expand/rust-proc-macro.cc (literal_from_string): Add callback
	function.
	(load_macros_array): Likewise.

libgrust/ChangeLog:

	* libproc_macro/literal.cc (Literal__from_string): Add
	implementation with call to constructor.
	(Literal::make_literal): Add new constructor which calls the
	callback.
	* libproc_macro/literal.h: Add new constructor's
	prototype.
	* libproc_macro/proc_macro.cc (bridge_is_available):
	Change symbol name to match convention.
	* libproc_macro/registration.h: Add lit_from_str
	symbol.
	* libproc_macro/tokenstream.cc (TokenStream::make_tokenstream):
	Change symbol name to disambiguate with literal from string.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
2024-01-16 18:56:02 +01:00
2024-01-03 12:19:35 +01:00
2024-01-12 00:17:54 +00:00
2024-01-12 00:17:54 +00:00
2024-01-14 00:17:47 +00:00
2024-01-03 12:19:35 +01:00
2024-01-03 12:19:35 +01:00
2024-01-05 08:54:28 +01:00
2024-01-10 00:18:30 +00:00
2024-01-05 00:18:48 +00:00
2024-01-03 12:19:35 +01:00
2024-01-13 00:18:48 +00:00
2024-01-16 00:18:46 +00:00
2024-01-06 00:18:04 +00:00
2024-01-12 00:17:54 +00:00
2024-01-14 00:17:47 +00:00
2024-01-04 00:18:45 +00:00
2024-01-03 12:19:35 +01:00
2024-01-05 08:54:28 +01:00
2024-01-04 00:18:45 +00:00
2024-01-03 00:17:41 +00:00
2024-01-03 12:19:35 +01:00
2024-01-16 00:18:46 +00:00
2024-01-03 12:19:35 +01:00
2024-01-03 12:19:35 +01:00
2024-01-16 00:18:46 +00:00
2024-01-15 14:20:11 -08:00
2024-01-09 08:02:31 -07:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%