diff options
author | jjasmine <tanghocle456@gmail.com> | 2024-05-21 19:46:18 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-06-13 15:31:07 +0000 |
commit | 4ca3eaaad71ffdce97ee550a7f95fee33ebb8184 (patch) | |
tree | f3c27fecb42d5609f540c446c0d92ad64c5ce0c1 /gcc/rust/expand/rust-macro-builtins-asm.h | |
parent | de7dbe64f859ab67ee0160cff6f8463569dd9739 (diff) | |
download | gcc-4ca3eaaad71ffdce97ee550a7f95fee33ebb8184.zip gcc-4ca3eaaad71ffdce97ee550a7f95fee33ebb8184.tar.gz gcc-4ca3eaaad71ffdce97ee550a7f95fee33ebb8184.tar.bz2 |
Implemented parse_clobber_abi to pass new tests
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-asm.cc (parse_clobber_abi):
implemented parse_clobber_abi
(parse_format_string): likewise.
(parseAsmArg): likewise.
(parse_asm): likewise.
* expand/rust-macro-builtins-asm.h (parseAsmArg): likewise.
Diffstat (limited to 'gcc/rust/expand/rust-macro-builtins-asm.h')
-rw-r--r-- | gcc/rust/expand/rust-macro-builtins-asm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/rust/expand/rust-macro-builtins-asm.h b/gcc/rust/expand/rust-macro-builtins-asm.h index 204ac0e..1d7889f 100644 --- a/gcc/rust/expand/rust-macro-builtins-asm.h +++ b/gcc/rust/expand/rust-macro-builtins-asm.h @@ -9,7 +9,8 @@ namespace Rust { // all operands. int parseAsmArg (Parser<MacroInvocLexer> &p, TokenId last_token_id, - AST::InlineAsm &inlineAsm); + AST::InlineAsm &inlineAsm, + bool consumed_comma_without_formatted_string); static tl::optional<AST::Fragment> parse_global_asm (location_t invoc_locus, AST::MacroInvocData &invoc); static tl::optional<AST::Fragment> |