diff options
author | jjasmine <tanghocle456@gmail.com> | 2024-06-04 23:14:19 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-06-13 15:31:07 +0000 |
commit | d24c338399f75dbc8f6b9f0711746d891966c0d7 (patch) | |
tree | efd1a711a8a6c996697461f2f895397150da4add /gcc/rust/expand/rust-macro-builtins-asm.h | |
parent | ba440238991674de23e51de786010a6f52084c25 (diff) | |
download | gcc-d24c338399f75dbc8f6b9f0711746d891966c0d7.zip gcc-d24c338399f75dbc8f6b9f0711746d891966c0d7.tar.gz gcc-d24c338399f75dbc8f6b9f0711746d891966c0d7.tar.bz2 |
Successful parse of in and inout, albeit with str
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-asm.cc (parse_reg_operand):
Successful parse of in and inout, albeit with str
(check_identifier): Likewise.
(parse_asm_arg): Likewise.
* expand/rust-macro-builtins-asm.h (parse_format_string): Likewise.
gcc/testsuite/ChangeLog:
* rust/compile/inline_asm_parse_operand.rs: New test.
Diffstat (limited to 'gcc/rust/expand/rust-macro-builtins-asm.h')
-rw-r--r-- | gcc/rust/expand/rust-macro-builtins-asm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/expand/rust-macro-builtins-asm.h b/gcc/rust/expand/rust-macro-builtins-asm.h index 45f1fd2..37f5f5a 100644 --- a/gcc/rust/expand/rust-macro-builtins-asm.h +++ b/gcc/rust/expand/rust-macro-builtins-asm.h @@ -68,4 +68,8 @@ int parse_clobber_abi (Parser<MacroInvocLexer> &parser, TokenId last_token_id, InlineAsmContext &inline_asm_ctx); +tl::optional<std::string> +parse_format_string (Parser<MacroInvocLexer> &parser, TokenId last_token_id, + InlineAsmContext &inline_asm_ctx); + } // namespace Rust
\ No newline at end of file |