aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-04-11 16:24:09 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-04-19 08:48:33 +0000
commit4f7461b1fdbc0325f1ad17d71d678f6f27d15d16 (patch)
tree1f41d45a83d027b4f2202ef8782a8a71adbba81b /gcc
parent9b5f58352b3995d0432667c35c1a5308d68b6932 (diff)
downloadgcc-4f7461b1fdbc0325f1ad17d71d678f6f27d15d16.zip
gcc-4f7461b1fdbc0325f1ad17d71d678f6f27d15d16.tar.gz
gcc-4f7461b1fdbc0325f1ad17d71d678f6f27d15d16.tar.bz2
libproc_macro: Add member functions to Literal
Add some member functions to the Literal structure as well as named constructors. ChangeLog: * libgrust/libproc_macro/literal.cc (Literal__string): Add call to named constructor. (Literal__byte_string): Likewise. (Literal::make_unsigned): Add function. (Literal::make_signed): Add function. (Literal::clone): Likewise. (Literal::make_u8): Likewise. (Literal::make_u16): Likewise. (Literal::make_u32): Likewise. (Literal::make_u64): Likewise. (Literal::make_i8): Likewise. (Literal::make_i16): Likewise. (Literal::make_i32): Likewise. (Literal::make_i64): Likewise. (Literal::make_string): Likewise. (Literal::make_byte_string): Likewise. (Literal::make_f32): Likewise. (Literal::make_f64): Likewise. (make_char): Likewise. (Literal::make_char): Likewise. (make_usize): Likewise. (Literal::make_usize): Likewise. (make_isize): Likewise. (Literal::make_isize): Likewise. * libgrust/libproc_macro/literal.h: Add prototypes. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions