]> granicus.if.org Git - clang/commit
Permit a class to friend its members in C++0x, without restriction.
authorJohn McCall <rjmccall@apple.com>
Thu, 6 Aug 2009 20:49:32 +0000 (20:49 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 6 Aug 2009 20:49:32 +0000 (20:49 +0000)
commit7f27d92006936b16a29ca0a5c442476b4f585b21
tree864f0462ca869a66edbb72eb47a9790840d0d2af
parent1cf9ff87ee235ad252332a96699abdb32bd6facb
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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78332 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/CXX/class/class.friend/p1.cpp