[PATCH] Make AnnotateAttr keeps pointer to StringLiteral instead of raw string.

Aaron Ballman aaron at aaronballman.com
Mon Aug 19 06:45:01 PDT 2013


This doesn't appear to make anything easier or more clean, so perhaps
I'm misunderstanding the purpose.  Can you give some more concrete
examples of the benefits of this approach over the current one?

Thanks!

~Aaron

On Sun, Aug 18, 2013 at 6:10 PM, Jarosław Rosiek
<jaroslaw.rosiek at interia.pl> wrote:
> Hi,
>
> This is my first patch here, so please be gentle :)
>
> This change enables usage of standard lexing/parsing/diagnosics
> infrastructure during processing of annotation string. This may be useful
> when someone implements a tool that processes metadata provided in
> annotations and this metadata requires further parsing (in a manner similar
> to current treatment of _Pragma directive).
>
> Thanks,
> Jarek
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>




More information about the cfe-commits mailing list