]> granicus.if.org Git - clang/commit
Properly instantiate friend class template declarations and link them into
authorJohn McCall <rjmccall@apple.com>
Thu, 25 Mar 2010 06:39:04 +0000 (06:39 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 25 Mar 2010 06:39:04 +0000 (06:39 +0000)
commit93ba8579c341d5329175f1413cdc3b35a36592d2
treeadef254c610bbd97ccc00fb9174b0e31f45142fd
parentef0df6a1c2a626f69dc11519cf88a50ca321065d
Properly instantiate friend class template declarations and link them into
the redeclaration chain.  Recommitted from r99477 with a fix:  we need to
merge in default template arguments from previous declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaAccess.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CXX/temp/temp.decls/temp.friend/p1.cpp
test/SemaTemplate/friend-template.cpp