[cfe-dev] Making clang::Rewriter friendlier for subclassing
manasij7479 at gmail.com
Thu May 14 19:13:06 PDT 2015
If you mean to call the base methods anyway, wouldn't it be better to have
a Rewriter object as a member of your class ?
On Thu, May 14, 2015 at 12:20 PM, Eli Bendersky <eliben at google.com> wrote:
> Would there be objections to make clang::Rewriter a bit friendlier for
> subclassing by marking some of its methods virtual? In particular
> InsertText, ReplaceText, RemoveText and their variations.
> The reason for this is to be able to subclass Rewriter for the purposes of
> logging, debugging and other custom capabilities.
> If this sounds reasonable, I'll be happy to implement this.
> Thanks in advance,
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev