On Sep 10, 2012, at 2:53 PM, Jason Haslam <[email protected]> wrote:

> This test case incorrectly warns because the diagnostic fails to look through 
> the qualifier when it checks the typedef's 'unused' attribute:
> 1 namespace NS { typedef int Int __attribute__((unused)); }
> 2 void f() {
> 3   NS::Int i; // bogus unused variable warning
> 4 }
> 
> The attached patch contains a fix and test case.

LGTM, thanks!

        - Doug


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

Reply via email to