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 | b1622a1fd7b7f4ab8d00d0183d17c90ad25c14e3 (patch) | |
tree | e4fc82aaeb530faf9d99061f43b10196764970c9 /test/SemaTemplate/instantiate-expr-4.cpp | |
parent | d87bcfafc340b06322ee4fb3bb249088e1f87b7a (diff) | |
download | clang-b1622a1fd7b7f4ab8d00d0183d17c90ad25c14e3.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92832 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/instantiate-expr-4.cpp')
-rw-r--r-- | test/SemaTemplate/instantiate-expr-4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaTemplate/instantiate-expr-4.cpp b/test/SemaTemplate/instantiate-expr-4.cpp index c524e958f8..06fd2296c6 100644 --- a/test/SemaTemplate/instantiate-expr-4.cpp +++ b/test/SemaTemplate/instantiate-expr-4.cpp @@ -21,8 +21,8 @@ struct FunctionalCast0 { template struct FunctionalCast0<5>; -struct X { // expected-note 3 {{candidate function}} - X(int, int); // expected-note 3 {{candidate function}} +struct X { // expected-note 3 {{candidate is the implicit copy constructor}} + X(int, int); // expected-note 3 {{candidate constructor}} }; template<int N, int M> |