]> granicus.if.org Git - clang/commit
Handle the resolution of a reference to a function template (which
authorDouglas Gregor <dgregor@apple.com>
Sat, 19 Feb 2011 21:32:49 +0000 (21:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 19 Feb 2011 21:32:49 +0000 (21:32 +0000)
commit1be8eec3ddd2a23c19b453c2639226174eb5d4a8
treea47c90a1061dcdbd80354210444b002f4828feb9
parent6c948378154dc37e772e50f95033530d506fa912
Handle the resolution of a reference to a function template (which
includes explicitly-specified template arguments) to a function
template specialization in cases where no deduction is performed or
deduction fails. Patch by Faisal Vali, fixes PR7505!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126048 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateDeduction.cpp
test/CXX/over/over.over/p2-resolve-single-template-id.cpp [new file with mode: 0644]
test/CXX/over/over.over/p2.cpp
test/CXX/over/over.over/p4.cpp
test/SemaCXX/addr-of-overloaded-function-casting.cpp
test/SemaCXX/addr-of-overloaded-function.cpp