[cfe-commits] [PATCH] Find comment attached to any redeclaration

Dmitri Gribenko gribozavr at gmail.com
Tue Aug 7 16:37:29 PDT 2012


Hello,

This patch changes the way we attach comments to declarations by not
only looking at the declaration itself, but also walking the
redeclaration chain: the previous declaration might have had a
documentation comment.

Please review.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: find-comment-walk-redecls-v1.patch
Type: application/octet-stream
Size: 2618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120807/2ff9e63b/attachment.obj>


More information about the cfe-commits mailing list