diff options
author | jjasmine <tanghocle456@gmail.com> | 2024-06-11 17:56:20 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-06-13 15:31:07 +0000 |
commit | da324bc6ee09a0f71ff6bc4ebcaa7e2989dbf39a (patch) | |
tree | d28ca8fb1c1aad4effd1412c6b880ca9b711964a /gcc/rust/expand/rust-macro-builtins-log-debug.cc | |
parent | 9202993a573985e8bbaad3a4078e5a876ecd67e5 (diff) | |
download | gcc-da324bc6ee09a0f71ff6bc4ebcaa7e2989dbf39a.zip gcc-da324bc6ee09a0f71ff6bc4ebcaa7e2989dbf39a.tar.gz gcc-da324bc6ee09a0f71ff6bc4ebcaa7e2989dbf39a.tar.bz2 |
Move parser and last_token_id to InlineAsmCtx
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-asm.cc (parse_clobber_abi):
Move parser and last_token_id to InlineAsmCtx to prepapre
for tl::expected.
(parse_reg): Likewise.
(parse_operand): Likewise.
(parse_reg_operand): Likewise.
(check_and_set): Likewise.
(parse_options): Likewise.
(parse_format_string): Likewise.
(parse_asm_arg): Likewise.
(parse_asm): Likewise.
* expand/rust-macro-builtins-asm.h (class InlineAsmParseError): Likewise.
(parse_asm_arg): Likewise.
(check_and_set): Likewise.
(parse_operand): Likewise.
(parse_reg_operand): Likewise.
(parse_options): Likewise.
(parse_reg): Likewise.
(parse_clobber_abi): Likewise.
(parse_format_string): Likewise.
Diffstat (limited to 'gcc/rust/expand/rust-macro-builtins-log-debug.cc')
0 files changed, 0 insertions, 0 deletions