[cfe-dev] DeclPrinter::VisitFunctionDecl v. TypePrinter::printFunctionProto
dgregor at apple.com
Wed Jan 26 16:51:41 PST 2011
On Jan 26, 2011, at 3:02 PM, dawn at burble.org wrote:
> 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
Most likely, they just evolved separately and nobody has contributed the fix to unify them.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev