diff options
author | John McCall <rjmccall@apple.com> | 2010-01-13 00:25:19 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-01-13 00:25:19 +0000 |
commit | e1ac8d17422098756cb7ce62be6552096ebf9b34 (patch) | |
tree | 991cf108ba58c67152de2a874dc7affd3cd7670f /clang/test/SemaCXX/namespace.cpp | |
parent | 78668fdcfb315cb79d18fba03f00caeed1b8c500 (diff) | |
download | bcm5719-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/SemaCXX/namespace.cpp')
-rw-r--r-- | clang/test/SemaCXX/namespace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/namespace.cpp b/clang/test/SemaCXX/namespace.cpp index 38b31f721a2..2a9d31fa945 100644 --- a/clang/test/SemaCXX/namespace.cpp +++ b/clang/test/SemaCXX/namespace.cpp @@ -9,7 +9,7 @@ int A; // expected-error {{redefinition of 'A' as different kind of symbol}} class A; // expected-error {{redefinition of 'A' as different kind of symbol}} class B {}; // expected-note {{previous definition is here}} \ - // expected-note{{candidate is the implicit copy assignment operator}} + // expected-note{{candidate function (the implicit copy assignment operator)}} void C(); // expected-note {{previous definition is here}} namespace C {} // expected-error {{redefinition of 'C' as different kind of symbol}} |