<div dir="ltr"><div>Decl *D = 0;</div>ASTDumper d;<div>d.ConstDeclVisitor::Visit(D);</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 4, 2014 at 7:48 PM, <span dir="ltr"><<a href="mailto:e.welter@rgfsoft.ch" target="_blank">e.welter@rgfsoft.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I'm wondering how it's possible to use the Visit method within for example<br>
ASTDumper, since the method is defined in multiple base classes<br>
(StmtVisitorBase and DeclVisitorBase)<br>
and therefore the method should be hidden. I'm trying to do the same and<br>
this results obviously in a compiler error: request for member 'Visit' is<br>
ambiguous (its a hidden method)<br>
<br>
Thanks for any hints<br>
<br>
regards<br>
<br>
Emanuel Welter<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>