r198224 - Update RecursiveASTVisitor so that it visits attributes. This is currently

Delesley Hutchins delesley at google.com
Mon Dec 30 13:08:51 PST 2013


Done.

On Mon, Dec 30, 2013 at 12:06 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Mon, Dec 30, 2013 at 7:24 PM, DeLesley Hutchins <delesley at google.com> wrote:
>> Author: delesley
>> Date: Mon Dec 30 11:24:36 2013
>> New Revision: 198224
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=198224&view=rev
>> Log:
>> Update RecursiveASTVisitor so that it visits attributes.  This is currently
>> important for thread safety attributes, which contain expressions that were
>> not being visited, and were thus invisible to various tools.  There are now
>> Visit*Attr methods that can be overridden for every attribute.
>
> Hi DeLesley,
>
> Please also update include/clang/AST/DataRecursiveASTVisitor.h.
>
> 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>*/



-- 
DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315



More information about the cfe-commits mailing list