[cfe-commits] r78332 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaDeclCXX.cpp test/CXX/class/class.friend/p1.cpp

Chris Lattner clattner at apple.com
Thu Aug 6 23:05:37 PDT 2009


On Aug 6, 2009, at 10:31 PM, AlisdairM(public) wrote:

> A DR becomes normative once the ISO paperwork is filed <g>
> In the case of the 03 standard, that means any issue with the status  
> "TC1".  I thought that this was one of them, but checking the issue  
> list I find CD1, which means it will be part of 0x.  There are many  
> accepted issues in the list now that deal with 0x features, and I  
> don't think it is wise to start making a judgement call on which we  
> think are 0x features, and which are obviously supposed to apply in  
> a 98/03 world.  A few more examples would be reference collapsing,  
> default template parameters for functions and extended SFINAE rules.  
> All of these are processed as issues and have no direct dependency  
> on 0x features, yet are typically viewed as 0x features in their own  
> right.
>
> I think the approach that these are 'widely supported extensions'  
> rather than strictly part of the standard is probably the right one.

Ah ok!  That makes sense to me.  We don't normally default to warning  
on extensions (i.e. -pedantic defaults to off), so making this an  
"extension" warning (not "extwarn") makes sense to me.

-Chris



More information about the cfe-commits mailing list