[cfe-dev] Why Printer Classes are private?
Roman Popov via cfe-dev
cfe-dev at lists.llvm.org
Wed Oct 18 14:35:30 PDT 2017
In StmtPrinter there is a PrintHelper that can be used to override printing
of some nodes. I guess PrintHelper was introduced for someone like me that
wanted to override some StmtPrinter visitors.
But DeclPrinter does not supports PrintHelper for some reason.
2017-10-18 12:53 GMT-07:00 Roman Popov <ripopov at gmail.com>:
> I want to redefine some visitors in DeclPrinter and StmtPrinter, but they
> are not exported over Clang API. Why is that?
> Currently I have to copy-paste them into my tool. But this unfortunately
> leads to some duplication.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev