diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-03-16 19:16:25 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-03-16 19:16:25 +0000 |
commit | db2eae639d3b7ed61ceb56890b73168517ef57f1 (patch) | |
tree | 5d11c84a6d156510757fa57eadff9acb25f2f1db /include/clang | |
parent | 1040c227efc6821cd39795206c178894470a1a48 (diff) |
Clean up our handling of template-ids that resolve down to a single
overload, so that we actually do the resolution for full expressions
and emit more consistent, useful diagnostics. Also fixes an IRGen
crasher, where Sema wouldn't diagnose a resolvable bound member
function template-id used in a full-expression (<rdar://problem/9108698>).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index c42a82b5f6..c8ac4337f3 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1499,7 +1499,7 @@ def err_ovl_no_viable_subscript : def err_ovl_no_oper : Error<"type %0 does not provide a %select{subscript|call}1 operator">; def err_ovl_unresolvable : - Error<"cannot resolve overloaded function from context">; + Error<"cannot resolve overloaded function %0 from context">; def err_ovl_no_viable_object_call : Error< |