summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/default-expr-arguments.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-01-13 00:25:19 +0000
committerJohn McCall <rjmccall@apple.com>2010-01-13 00:25:19 +0000
commite1ac8d17422098756cb7ce62be6552096ebf9b34 (patch)
tree991cf108ba58c67152de2a874dc7affd3cd7670f /clang/test/SemaTemplate/default-expr-arguments.cpp
parent78668fdcfb315cb79d18fba03f00caeed1b8c500 (diff)
downloadbcm5719-llvm-e1ac8d17422098756cb7ce62be6552096ebf9b34.tar.gz
bcm5719-llvm-e1ac8d17422098756cb7ce62be6552096ebf9b34.zip
Improve the reporting of non-viable overload candidates by noting the reason
why the candidate is non-viable. There's a lot we can do to improve this, but it's a good start. Further improvements should probably be integrated with the bad-initialization reporting routines. llvm-svn: 93277
Diffstat (limited to 'clang/test/SemaTemplate/default-expr-arguments.cpp')
-rw-r--r--clang/test/SemaTemplate/default-expr-arguments.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/default-expr-arguments.cpp b/clang/test/SemaTemplate/default-expr-arguments.cpp
index 9ec2e9e0fe1..131b80cb1f3 100644
--- a/clang/test/SemaTemplate/default-expr-arguments.cpp
+++ b/clang/test/SemaTemplate/default-expr-arguments.cpp
@@ -5,7 +5,7 @@ class C { C(int a0 = 0); };
template<>
C<char>::C(int a0);
-struct S { }; // expected-note 3 {{candidate is the implicit copy constructor}}
+struct S { }; // expected-note 3 {{candidate constructor (the implicit copy constructor)}}
template<typename T> void f1(T a, T b = 10) { } // expected-error{{no viable conversion}}
OpenPOWER on IntegriCloud