aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r--gcc/rust/ast/rust-expr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index ad742bf..cc8c6ea 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -4994,6 +4994,16 @@ public:
void set_outer_attrs (std::vector<Attribute> v) override { outer_attrs = v; }
+ std::vector<InlineAsmTemplatePiece> get_template_ () { return template_; }
+
+ std::vector<TupleTemplateStr> get_template_strs () { return template_strs; }
+
+ std::vector<InlineAsmOperand> get_operands () { return operands; }
+
+ std::vector<TupleClobber> get_clobber_abi () { return clobber_abi; }
+
+ std::set<InlineAsmOption> get_options () { return options; }
+
InlineAsm *clone_expr_without_block_impl () const override
{
return new InlineAsm (*this);