]> granicus.if.org Git - clang/commit
fix dual aspect of PR8007,
authorGabor Greif <ggreif@gmail.com>
Mon, 30 Aug 2010 21:10:05 +0000 (21:10 +0000)
committerGabor Greif <ggreif@gmail.com>
Mon, 30 Aug 2010 21:10:05 +0000 (21:10 +0000)
commitab297ac4d3f7c078a34c75493b840ef6b5801be3
tree4c8a964e6cb5c7c00a1f39dce402d8023e45f2a6
parent75f21af57f3dce1577d6c27bbe7bb45b49ced732
fix dual aspect of PR8007,
namely when the friend function prototype is already used
at the point of the template definition that is supposed
to inject the friend function. Testcase verifies four
scenarios.
I would like receive some code review for this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaTemplate/inject-templated-friend-post.cpp