diff options
author | John McCall <rjmccall@apple.com> | 2011-10-11 23:14:30 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-10-11 23:14:30 +0000 |
commit | 6dbba4fc128e2e2f5b26be996392bd32c0707f13 (patch) | |
tree | 39387293b950b16aa176d75fe9d5b3201e0b56e8 /test/FixIt | |
parent | 336c8f70ff961c5568de3b9c65fb0502843b7407 (diff) |
Catch placeholder types in DefaultLvalueConversion
and DefaultFunctionArrayLvalueConversion. To prevent
significant regression for should-this-be-a-call fixits,
and to repair some such regression from the introduction of
bound member placeholders, make those placeholder checks
try to build calls appropriately. Harden the build-a-call
logic while we're at it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt')
-rw-r--r-- | test/FixIt/typo-crash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FixIt/typo-crash.cpp b/test/FixIt/typo-crash.cpp index 8f0c989cce..92d20377e8 100644 --- a/test/FixIt/typo-crash.cpp +++ b/test/FixIt/typo-crash.cpp @@ -4,9 +4,9 @@ // PR10355 template<typename T> void template_id1() { // expected-note {{'template_id1' declared here}} \ - // expected-note {{candidate function}} + // expected-note {{possible target for call}} template_id2<> t; // expected-error {{no template named 'template_id2'; did you mean 'template_id1'?}} \ // expected-error {{expected ';' after expression}} \ - // expected-error {{cannot resolve overloaded function 'template_id1' from context}} \ + // expected-error {{reference to overloaded function could not be resolved; did you mean to call it?}} \ // expected-error {{use of undeclared identifier 't'}} } |