[cfe-dev] DeclPrinter::VisitFunctionDecl v. TypePrinter::printFunctionProto

dawn at burble.org dawn at burble.org
Wed Jan 26 15:02:55 PST 2011


Is there any reason why DeclPrinter::VisitFunctionDecl and 
TypePrinter::printFunctionProto don't share the same code?  I wanted to
be able to see a function decl's calling convention when dumping the ast
and found myself copying that code from printFunctionProto into
VisitFunctionDecl (yuk).  The rest of the code looks more or less the
same.

Thanks,
-Dawn



More information about the cfe-dev mailing list