aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-builtins-asm.cc
diff options
context:
space:
mode:
authorjjasmine <tanghocle456@gmail.com>2024-05-28 00:17:33 -0700
committerCohenArthur <arthur.cohen@embecosm.com>2024-06-13 15:31:07 +0000
commit4b1fa28ff56288eea4c2657061ce9df839fc02ea (patch)
tree66893a87db8e323b39786e74802e82d64c734ee8 /gcc/rust/expand/rust-macro-builtins-asm.cc
parent0eafcc27996564b3516cecbdcaa8b9c13e88836d (diff)
downloadgcc-4b1fa28ff56288eea4c2657061ce9df839fc02ea.zip
gcc-4b1fa28ff56288eea4c2657061ce9df839fc02ea.tar.gz
gcc-4b1fa28ff56288eea4c2657061ce9df839fc02ea.tar.bz2
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.
Diffstat (limited to 'gcc/rust/expand/rust-macro-builtins-asm.cc')
-rw-r--r--gcc/rust/expand/rust-macro-builtins-asm.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/expand/rust-macro-builtins-asm.cc b/gcc/rust/expand/rust-macro-builtins-asm.cc
index 20a434c..55d822d 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<MacroInvocLexer> &parser, TokenId last_token_id,
- InlineAsmContext &inlineAsmCtx)
+parse_asm_arg (Parser<MacroInvocLexer> &parser, TokenId last_token_id,
+ InlineAsmContext &inlineAsmCtx)
{
auto token = parser.peek_current_token ();
tl::optional<std::string> 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;
}