[cfe-dev] Hidden Visit used in ASTDumper.cpp
Nikola Smiljanic
popizdeh at gmail.com
Mon Aug 4 04:15:49 PDT 2014
Decl *D = 0;
ASTDumper d;
d.ConstDeclVisitor::Visit(D);
On Mon, Aug 4, 2014 at 7:48 PM, <e.welter at rgfsoft.ch> wrote:
> Hi!
>
> I'm wondering how it's possible to use the Visit method within for example
> ASTDumper, since the method is defined in multiple base classes
> (StmtVisitorBase and DeclVisitorBase)
> and therefore the method should be hidden. I'm trying to do the same and
> this results obviously in a compiler error: request for member 'Visit' is
> ambiguous (its a hidden method)
>
> Thanks for any hints
>
> regards
>
> Emanuel Welter
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140804/6ab6e390/attachment.html>
More information about the cfe-dev
mailing list