summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/default-expr-arguments.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-01-06 09:43:14 +0000
committerJohn McCall <rjmccall@apple.com>2010-01-06 09:43:14 +0000
commitfd0b2f8fe486f707b4f7b71501c1b60e5e7b5fd2 (patch)
treede466ea53c44c81b4b191191789aff297bf72974 /clang/test/SemaTemplate/default-expr-arguments.cpp
parent40d2429b2831ddbb146f7619eb289293deec69f6 (diff)
downloadbcm5719-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/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 0edc504ea0a..9ec2e9e0fe1 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 function}}
+struct S { }; // expected-note 3 {{candidate is the implicit copy constructor}}
template<typename T> void f1(T a, T b = 10) { } // expected-error{{no viable conversion}}
OpenPOWER on IntegriCloud