]> granicus.if.org Git - clang/commit
Enter the context of the declared function template when performing
authorJohn McCall <rjmccall@apple.com>
Tue, 12 Oct 2010 19:40:14 +0000 (19:40 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 12 Oct 2010 19:40:14 +0000 (19:40 +0000)
commitdf41f18936693f7c62e457eefb9fad5b2d2fe3cd
tree7d6b4d82a188e9cef06bb28ac52e58be23b7422e
parent3273b0cea879c7af345d6bf98502bbf73fc4fde1
Enter the context of the declared function template when performing
deduction and the final substitution, but not while substituting the
explicit template arguments.  Fixes rdar://problem/8537391

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