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 | [email protected] | 505-206-0315

Attachment: clang-fix-nested-class-scope.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to