summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/fun-template-def.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
commitb1622a1fd7b7f4ab8d00d0183d17c90ad25c14e3 (patch)
treee4fc82aaeb530faf9d99061f43b10196764970c9 /test/SemaTemplate/fun-template-def.cpp
parentd87bcfafc340b06322ee4fb3bb249088e1f87b7a (diff)
downloadclang-b1622a1fd7b7f4ab8d00d0183d17c90ad25c14e3.tar.gz
clang-b1622a1fd7b7f4ab8d00d0183d17c90ad25c14e3.tar.bz2
clang-b1622a1fd7b7f4ab8d00d0183d17c90ad25c14e3.tar.xz
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/fun-template-def.cpp')
-rw-r--r--test/SemaTemplate/fun-template-def.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/fun-template-def.cpp b/test/SemaTemplate/fun-template-def.cpp
index 0c2cf9c4f2..b17a0faf7c 100644
--- a/test/SemaTemplate/fun-template-def.cpp
+++ b/test/SemaTemplate/fun-template-def.cpp
@@ -8,7 +8,7 @@
// Fake typeid, lacking a typeinfo header.
namespace std { class type_info {}; }
-struct dummy {}; // expected-note 3 {{candidate function}}
+struct dummy {}; // expected-note 3 {{candidate is the implicit copy constructor}}
template<typename T>
int f0(T x) {