diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-01 02:33:15 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-01 02:33:15 +0000 |
commit | 2fef752aebece6786e5f3d54984272ef85564af8 (patch) | |
tree | 7e198eee33fa48031ceb21299fe790357d583318 /www | |
parent | 2f9d8740f557bc1f8746a2d5c4498b324b63eeb9 (diff) |
When building the type of a destructor, make sure to keep the
exception specification. Fixes PR7526.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r-- | www/compatibility.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/www/compatibility.html b/www/compatibility.html index 85133fbca2..0f8409b953 100644 --- a/www/compatibility.html +++ b/www/compatibility.html @@ -590,9 +590,8 @@ void g(Base *base) { downcast.mm:6:3: error: no matching function for call to 'f' f(base); ^ -downcast.mm:4:6: note: candidate function not viable: cannot convert from base - class pointer 'Base *' to derived class pointer 'Derived *' for 1st - argument +downcast.mm:4:6: note: candidate function not viable: cannot convert from + superclass 'Base *' to subclass 'Derived *' for 1st argument void f(Derived *); ^ </pre> |