Bug 206516 - parser, explicit destructor call
Summary: parser, explicit destructor call
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: VLO normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-06 18:42 UTC by Jörg Pfähler
Modified: 2016-12-13 08:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.0.0
Sentry Crash Report:


Attachments
The bug has already been Resolved (475.41 KB, image/png)
2016-04-30 06:38 UTC, Sumeet Tulsani
Details
attachment-1987-0.html (1.38 KB, text/html)
2016-05-01 17:30 UTC, Sumeet Tulsani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Pfähler 2009-09-06 18:42:14 UTC
Version:           0.9.95 (svn from 06.09.2009) (using KDE 4.3.1)
Compiler:          g++ 4.4.1 
OS:                Linux
Installed from:    Ubuntu Packages

The parser fails to recognize the explicit destructor call, when no destructor is declared for the class:

struct test{};

int main()
{
  test t;
  t.~test();
}

see http://img29.imageshack.us/img29/1451/kdevelop2.png
Comment 1 Milian Wolff 2010-06-16 00:13:42 UTC
confirmed
Comment 2 Sumeet Tulsani 2016-04-30 06:38:19 UTC
Created attachment 98697 [details]
The bug has already been Resolved

The program executes properly as shown in the screenshot.
Comment 3 Kevin Funk 2016-05-01 09:08:13 UTC
@Sumeet: Again, this is not about program execution. Please read the bug report carefully.

Checked under KDevelop 5: No errors in above example code generated. Fixed.
Comment 4 Sumeet Tulsani 2016-05-01 17:30:34 UTC
Created attachment 98735 [details]
attachment-1987-0.html

Thanks for the feedback Kevin, I will be careful henceforth.
On May 1, 2016 02:08, "Kevin Funk via KDE Bugzilla" <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=206516
>
> Kevin Funk <kfunk@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |FIXED
>    Version Fixed In|                            |5.0
>              Status|CONFIRMED                   |RESOLVED
>
> --- Comment #3 from Kevin Funk <kfunk@kde.org> ---
> @Sumeet: Again, this is not about program execution. Please read the bug
> report
> carefully.
>
> Checked under KDevelop 5: No errors in above example code generated. Fixed.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>