[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    Re: [cfe-commits] r171267 - in /cfe/trunk: lib/Sema/Sema.cpp test/SemaCXX/warn-unused-filescoped.cpp
From:       Rafael_EspĂ­ndola <rafael.espindola () gmail ! com>
Date:       2012-12-31 20:21:23
Message-ID: CAG3jReL4TnUo5d2PL77uw5AeuXdvr3vRqpW5w3tdrq3h+L-E7Q () mail ! gmail ! com
[Download RAW message or body]

> Right - perhaps we could delay adding it until that point. I remember
> recently having to deal with this problem when addressing some linkage
> & mangling issues due to similar constructs. r167906, though I'm not
> sure if it'd provide any great insight into addressing this current
> issue.

I guess it would be possible, but fairly cumbersome. We have to wait
until the end of ParseTypedefDecl and then walk every nested struct
looking for member functions that we want to warn about.

Also, is there an easy way to test that we are not in a typedef while
parsing bar in that example?

Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic