[cfe-commits] [Patch] Warn about C90 doubly-qualified types in more situations
Tim.Northover at arm.com
Mon Apr 2 07:01:27 PDT 2012
C90 annoyingly requires a diagnostic to be produced for any type that ends up
with two copies of the same type-qualifier. This warning is already produced
for cases which can be detected during parsing, but when it happens via a
typedef Sema needs to be involved.
I believe this patch implements the correct note, though I was uncertain how
best to test for C90 only compilation: is !C99 && !C++ & !ObjC correct?
Could someone take a look at the patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2622 bytes
Desc: not available
More information about the cfe-commits