[Patch] Clang: allow scoped_lockable to acquire multiple locks

Ed Schouten ed at 80386.nl
Sun Aug 31 21:23:55 PDT 2014


Hi Richard,

On 31 August 2014 23:00, Richard Smith <richard at metafoo.co.uk> wrote:
> Does this handle the variadic template case:

I just tried this and unfortunately it does not. It seems that the
attributes only accept a constant number of expressions, so we can't
use variable arguments here.

That said, support for variable arguments list is actually not related
to this patch. This patch only alters the way individual locks are
added and removed from the set of held locks during analysis.

-- 
Ed Schouten <ed at 80386.nl>



More information about the cfe-commits mailing list