[cfe-commits] r171267 - in /cfe/trunk: lib/Sema/Sema.cpp test/SemaCXX/warn-unused-filescoped.cpp
Rafael EspĂndola
rafael.espindola at gmail.com
Mon Dec 31 12:21:23 PST 2012
> 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
More information about the cfe-commits
mailing list