]> granicus.if.org Git - clang/commit
White-listing templated-scope friend decls is a good idea, but doing it
authorJohn McCall <rjmccall@apple.com>
Sat, 16 Oct 2010 06:59:13 +0000 (06:59 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 16 Oct 2010 06:59:13 +0000 (06:59 +0000)
commit6102ca1d490836096678d7d934f0b2b78f9293ec
tree6d041c075fd523574c5c35fe985aa38d698d5b43
parentb10ce9f4fcff51bebc9efaeda2fa15b6478c6aec
White-listing templated-scope friend decls is a good idea, but doing it
by marking the decl invalid isn't.  Make some steps towards supporting these
and then hastily shut them down at the last second by marking them as
unsupported.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116661 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclFriend.h
lib/Sema/SemaAccess.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaTemplate.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriterDecl.cpp
test/CodeGenCXX/template-instantiation.cpp