Fix RecursiveASTVisitor to visit copy expressions of captured variables in blocks (ObjC++11)

Mathieu Baudet mathieu.baudet at
Fri Jun 6 17:44:43 PDT 2014


I found a corner case in ObjC++11 where the RecursiveASTVisitor could
miss the body of a block.

Please find the patch in attachment (unit test included).

-- Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_RecursiveASTVisitor_VisitsCopyExpr.patch
Type: application/octet-stream
Size: 3775 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list