On Jul 12, 2012, at 9:44 AM, Dmitri Gribenko <[email protected]> wrote:
> Hello,
>
> The attached patch implements an optimization for finding the comment
> that occurs just after a given declaration. It is based on the
> observation that during parsing the comment that should be attached to
> the decl is usually among the last two documentation comments parsed.
This approach looks good to me. Did you validate it on a decent-sized header
(say, Cocoa) to make sure it doesn't change the results?
- Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits