PATCH: update RecursiveASTVisitor to visit attributes.

Delesley Hutchins delesley at
Wed Dec 18 11:36:35 PST 2013

This patch adds Visit*Attr(A) methods to RecursiveASTVisitor, and
updates tablegen to emit the appropriate traversal routines.  Right
now, the main use case is thread safety attributes.  These attributes
contain nested expressions that are currently not being visited, which
means that they are invisible to various tools that use the visitor to
collect expressions.

Question: Do we have test code for RecursiveASTVisitor?  Where?

DeLesley Hutchins | Software Engineer | delesley at | 505-206-0315
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ASTVisitAttr.patch
Type: text/x-patch
Size: 11545 bytes
Desc: not available
URL: <>

More information about the llvm-commits mailing list