On Sun, Jan 27, 2013 at 11:18 PM, Dmitri Gribenko <[email protected]> wrote:
> +struct Foo1 {
> +  int iii;
> +};
> +/** About Foo1T */
> +typedef struct Foo1 Foo1T;
> +// FIXME: we don't attach this comment to 'struct Foo1'
> +// CHECK: TypedefDecl=Foo1T:[[@LINE-2]]:21 (Definition) {{.*}} 
> FullCommentAsHTML=[<p class="para-brief"> About Foo1T </p>] 
> FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.m" 
> line="[[@LINE-2]]" 
> column="21"><Name>Foo1T</Name><USR>c:annotate-comments-typedef.m@{{[0-9]+}}@T@Foo1T</USR><Declaration>typedef
>  struct Foo1 Foo1T</Declaration><Abstract><Para> About Foo1T 
> </Para></Abstract></Typedef>]

Fariborz,

Please note this FIXME.  I don't think it is easily possible to
support this now.  The issue is that when we are looking at the
struct, we don't see any documentation, and we can not "fix it up"
later.

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 <[email protected]>*/

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to