From: jjasmine Date: Tue, 28 May 2024 07:17:33 +0000 (-0700) Subject: gccrs: Renamed parseAsmArg to conform to other function names X-Git-Tag: basepoints/gcc-16~1367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af786adccd9deaad6aad9e7a6472e26b1904b995;p=thirdparty%2Fgcc.git gccrs: Renamed parseAsmArg to conform to other function names gcc/rust/ChangeLog: * expand/rust-macro-builtins-asm.cc (parseAsmArg): Renamed parseAsmArg to conform to other function names (parse_asm_arg): Likewise. (parse_asm): Likewise. * expand/rust-macro-builtins-asm.h (parseAsmArg): Likewise. (parse_asm_arg): Likewise. --- diff --git a/gcc/rust/expand/rust-macro-builtins-asm.cc b/gcc/rust/expand/rust-macro-builtins-asm.cc index f7703ddd730..3ce9bf9d78b 100644 --- a/gcc/rust/expand/rust-macro-builtins-asm.cc +++ b/gcc/rust/expand/rust-macro-builtins-asm.cc @@ -385,8 +385,8 @@ MacroBuiltin::asm_handler (location_t invoc_locus, AST::MacroInvocData &invoc, } int -parseAsmArg (Parser &parser, TokenId last_token_id, - InlineAsmContext &inlineAsmCtx) +parse_asm_arg (Parser &parser, TokenId last_token_id, + InlineAsmContext &inlineAsmCtx) { auto token = parser.peek_current_token (); tl::optional fm_string; @@ -505,7 +505,7 @@ parse_asm (location_t invoc_locus, AST::MacroInvocData &invoc, } // operands stream, also handles the optional "," - parseAsmArg (parser, last_token_id, inlineAsmCtx); + parse_asm_arg (parser, last_token_id, inlineAsmCtx); return tl::nullopt; } diff --git a/gcc/rust/expand/rust-macro-builtins-asm.h b/gcc/rust/expand/rust-macro-builtins-asm.h index 65763780979..a35d7707e6c 100644 --- a/gcc/rust/expand/rust-macro-builtins-asm.h +++ b/gcc/rust/expand/rust-macro-builtins-asm.h @@ -31,8 +31,8 @@ public: }; int -parseAsmArg (Parser &p, TokenId last_token_id, - InlineAsmContext &inlineAsmCtx); +parse_asm_arg (Parser &p, TokenId last_token_id, + InlineAsmContext &inlineAsmCtx); tl::optional parse_global_asm (location_t invoc_locus, AST::MacroInvocData &invoc);