[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 22:17:09 PDT 2009
On Aug 6, 2009, at 2:04 PM, Eli Friedman wrote:
> On Thu, Aug 6, 2009 at 1:49 PM, John McCall<rjmccall at apple.com> wrote:
>> Author: rjmccall
>> Date: Thu Aug 6 15:49:32 2009
>> New Revision: 78332
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=78332&view=rev
>> Log:
>> Permit a class to friend its members in C++0x, without restriction.
>> Permit a class to friend its class members in C++ 98, as long as
>> extensions
>> are enabled (and even when they aren't, only give an extwarn about
>> it).
>
> We generally prefer to make a warning "Extension" rather than an
> "ExtWarn" outside of GNU mode.
My understanding that this is an issue covered by a DR. Aren't DR's
(after approved) considered normative? Isn't this the same as
considering C++'03 the same as C++'98?
-Chris
More information about the cfe-commits
mailing list