]> granicus.if.org Git - clang/commit
When instantiating a function template specialization following
authorDouglas Gregor <dgregor@apple.com>
Wed, 28 Apr 2010 04:52:24 +0000 (04:52 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 28 Apr 2010 04:52:24 +0000 (04:52 +0000)
commitd4598a2cc7576c06f69d3cf64d0e2c9783ddf529
treeb76a4f4620bd8492cb8a4fec7574bdc5c35492f6
parent784f21121a6c9418ebd86baa6814e36e1176c410
When instantiating a function template specialization following
template argument deduction, use the lexical declaration context as
the owner for friend function templates. Fixes 2 failures in
Boost.Graph.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102489 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/SemaTemplate/friend-template.cpp