Hidden Visit used in ASTDumper.cpp


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


Emanuel Welter

Decl *D = 0;
ASTDumper d;d.ConstDeclVisitor::Visit(D);