Fix RecursiveASTVisitor to visit copy expressions of captured variables in blocks (ObjC++11)
Alp Toker
alp at nuanti.com
Sat Jun 7 11:46:56 PDT 2014
On 07/06/2014 03:44, Mathieu Baudet wrote:
> Hi,
>
> 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).
The approach looks OK but please simplify with for (const auto &I :
D->captures()).
Alp.
>
> -- Mathieu
--
http://www.nuanti.com
the browser experts
More information about the cfe-commits
mailing list