[cfe-commits] [PATCH] Fix scoping issues for late-parsed attributes in nested classes.

Richard Smith richard at metafoo.co.uk
Wed Mar 21 17:08:39 PDT 2012


LGTM

On Thu, Mar 15, 2012 at 9:22 AM, Delesley Hutchins <delesley at google.com>wrote:

> This patch fixes a scoping issue where late parsed attributes didn't
> work correctly in nested classes, e.g.
>
> class Foo {
>  class Bar {
>    Mutex mu;
>    int a GUARDED_BY(mu);  // unexpected error -- can't find identifier mu.
>  };
> };
>
> http://codereview.appspot.com/5836044/
>
> --
> DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120321/6ba760db/attachment.html>


More information about the cfe-commits mailing list