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

Dmitri Gribenko gribozavr at gmail.com
Mon Dec 30 12:06:09 PST 2013


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



More information about the cfe-commits mailing list