[cfe-commits] Comment Callback - first try - for review

Cédric Venet cedric.venet at laposte.net
Sun Oct 26 12:20:39 PDT 2008


Hi,

Here is a small patch which add an callback on comment. This mechanism 
could be used to implement -verify and tools like a documentation generator.

This patch is by no means production ready, but I would like to know 
what you think about it. In particular, I didn't really know how should 
the callback interact with the comment retention mode. In this patch, 
they are exclusive alternative, but it would be as easy to make them 
complementary. Also, the function naming is pretty bad I think...

There is no test included. I started to wrote a small consumer but it 
isn't ready yet (I have just tested take the comment callback work for 
simple cases).

regards,

Cédric
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: comment_callback_v2.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20081026/053321ad/attachment.ksh>


More information about the cfe-commits mailing list