Use function overloading instead of template specialization for diagnosis of bad...
authorLarisse Voufo <lvoufo@google.com>
Fri, 19 Jul 2013 22:34:32 +0000 (22:34 +0000)
committerLarisse Voufo <lvoufo@google.com>
Fri, 19 Jul 2013 22:34:32 +0000 (22:34 +0000)
commit8d33da6d58f34bcb47397e9d8ccc7c340160d359
tree6d127a92bd1758f9fe11e4a9f0579221acd1519c
parent5e05c4afe48945b438d98a0efe9c6d6286b1bb9b
Use function overloading instead of template specialization for diagnosis of bad template argument deductions.

llvm-svn: 186727
15 files changed:
clang/include/clang/Sema/Overload.h
clang/include/clang/Sema/Sema.h
clang/include/clang/Sema/TemplateDeduction.h
clang/lib/Sema/SemaOverload.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/lib/Sema/SemaTemplateInstantiate.cpp
clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
clang/test/CXX/expr/expr.const/p3-0x.cpp
clang/test/CXX/over/over.over/p2.cpp
clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp
clang/test/SemaCXX/cxx1y-deduced-return-type.cpp
clang/test/SemaObjCXX/arc-nsconsumed-errors.mm
clang/test/SemaTemplate/explicit-instantiation.cpp
clang/test/SemaTemplate/function-template-specialization.cpp