[cfe-dev] Making clang::Rewriter friendlier for subclassing

Eli Bendersky eliben at google.com
Thu May 14 12:20:17 PDT 2015


Hi,

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,

Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150514/33d597b0/attachment.html>


More information about the cfe-dev mailing list