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/SemaCXX/conversion-function.cpp | |
parent | d87bcfafc340b06322ee4fb3bb249088e1f87b7a (diff) |
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/SemaCXX/conversion-function.cpp')
-rw-r--r-- | test/SemaCXX/conversion-function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/conversion-function.cpp b/test/SemaCXX/conversion-function.cpp index db322f4a3d..4fef172bd5 100644 --- a/test/SemaCXX/conversion-function.cpp +++ b/test/SemaCXX/conversion-function.cpp @@ -56,9 +56,9 @@ public: // This used to crash Clang. struct Flip; -struct Flop { // expected-note{{candidate function}} +struct Flop { // expected-note{{candidate is the implicit copy constructor}} Flop(); - Flop(const Flip&); // expected-note{{candidate function}} + Flop(const Flip&); // expected-note{{candidate constructor}} }; struct Flip { operator Flop() const; // expected-note{{candidate function}} |