diff options
author | John McCall <rjmccall@apple.com> | 2010-01-06 09:43:14 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-01-06 09:43:14 +0000 |
commit | fd0b2f8fe486f707b4f7b71501c1b60e5e7b5fd2 (patch) | |
tree | de466ea53c44c81b4b191191789aff297bf72974 /clang/test/SemaTemplate/instantiate-static-var.cpp | |
parent | 40d2429b2831ddbb146f7619eb289293deec69f6 (diff) | |
download | bcm5719-llvm-fd0b2f8fe486f707b4f7b71501c1b60e5e7b5fd2.tar.gz bcm5719-llvm-fd0b2f8fe486f707b4f7b71501c1b60e5e7b5fd2.zip |
Improve the diagnostics used to report implicitly-generated class members
as parts of overload sets. Also, refer to constructors as 'constructors'
rather than functions.
Adjust a lot of tests.
llvm-svn: 92832
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-static-var.cpp')
-rw-r--r-- | clang/test/SemaTemplate/instantiate-static-var.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/instantiate-static-var.cpp b/clang/test/SemaTemplate/instantiate-static-var.cpp index 8a2f34d475a..789fe3db872 100644 --- a/clang/test/SemaTemplate/instantiate-static-var.cpp +++ b/clang/test/SemaTemplate/instantiate-static-var.cpp @@ -30,7 +30,7 @@ T Z<T>::value; // expected-error{{no matching constructor}} struct DefCon {}; struct NoDefCon { - NoDefCon(const NoDefCon&); // expected-note{{candidate function}} + NoDefCon(const NoDefCon&); // expected-note{{candidate constructor}} }; void test() { |