]> granicus.if.org Git - clang/commit
Stop diagnosing the use of inner classes as friends. ddunbar asked whether
authorJohn McCall <rjmccall@apple.com>
Tue, 22 Dec 2009 00:59:39 +0000 (00:59 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 22 Dec 2009 00:59:39 +0000 (00:59 +0000)
commita236a5584732c7c285316d7608168f771fac2059
tree093aaf941a671c1def49840892f7da10490a1cc6
parent1be6b460d5aa4dda4274a15eeba824dfd4ad10d0
Stop diagnosing the use of inner classes as friends.  ddunbar asked whether
this was useful, and on review Doug and I decided it was probably on the level
of a bug in the standard and therefore not worth a warning even in -pedantic.
If someone disagrees and urgently wants clang++ to warn about this in strict
c++98 mode, we can talk about it.

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