gccrs: Make MacroInvocation cloning public
gcc/rust/ChangeLog: * ast/rust-macro.h (MacroInvocation::clone_macro_invocation_impl): Make public. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
This commit is contained in:
parent
3bbc4ca198
commit
215925bccc
1 changed files with 2 additions and 0 deletions
|
@ -775,11 +775,13 @@ protected:
|
|||
return clone_macro_invocation_impl ();
|
||||
}
|
||||
|
||||
public:
|
||||
/*virtual*/ MacroInvocation *clone_macro_invocation_impl () const
|
||||
{
|
||||
return new MacroInvocation (*this);
|
||||
}
|
||||
|
||||
protected:
|
||||
Item *clone_item_impl () const override
|
||||
{
|
||||
return clone_macro_invocation_impl ();
|
||||
|
|
Loading…
Add table
Reference in a new issue