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

Dmitri Gribenko gribozavr at gmail.com
Sun Aug 18 17:38:53 PDT 2013


On Sun, Aug 18, 2013 at 3:10 PM, Jarosław Rosiek
<jaroslaw.rosiek at interia.pl> wrote:
> 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).

+ Aaron Ballman, who has been refactoring attribute handling recently.

Modulo 80-col violations, this patch LGTM.

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>*/




More information about the cfe-commits mailing list