From e1ac8d17422098756cb7ce62be6552096ebf9b34 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 13 Jan 2010 00:25:19 +0000 Subject: 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 --- clang/test/SemaCXX/nested-name-spec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaCXX/nested-name-spec.cpp') diff --git a/clang/test/SemaCXX/nested-name-spec.cpp b/clang/test/SemaCXX/nested-name-spec.cpp index a53231dca70..8618f0339bc 100644 --- a/clang/test/SemaCXX/nested-name-spec.cpp +++ b/clang/test/SemaCXX/nested-name-spec.cpp @@ -178,7 +178,7 @@ bool (foo_S::value); namespace somens { - struct a { }; // expected-note{{candidate is the implicit copy constructor}} + struct a { }; // expected-note{{candidate constructor (the implicit copy constructor)}} } template -- cgit v1.2.3