Bug 253652 - Fails to parse unnamed template parameter with default argument
Summary: Fails to parse unnamed template parameter with default argument
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: 4.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-09 13:24 UTC by Johannes Schaub
Modified: 2016-01-24 12:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Schaub 2010-10-09 13:24:18 UTC
Version:           4.0.2 (using KDE 4.5.1) 
OS:                Linux

This fails to parse

template<typename = int>
class X { };



Reproducible: Always
Comment 1 Andrey Cygankov 2016-01-23 23:22:15 UTC
I tried to reproduce the bug it KDevelop 5, and it parse without errors. Probably it is necessary to close.
Comment 2 Milian Wolff 2016-01-24 12:15:55 UTC
Hello!

We are working on a new clang-based C/C++ language plugin for KDevelop 5 which
supersedes the old C++ plugin in KDevelop 4. See e.g.:
https://www.kdevelop.org/news/first-beta-release-kdevelop-500-available

Due to a lack of manpower, we cannot fix bugs in the old C++ plugin. We rather
want to supply a good Clang based C++ experience for KDevelop 5 than wasting
our time on the legacy C++ support for KDevelop 4.

With the new clang-based C/C++ language plugin, the bug presented here does not
occur. In my testing. For these reasons, I'll close this bug. Please stay tuned
for KDevelop 5.

If you think this bug is applicable to Clang/KDevelop 5, please reopen the
report and add new information on how to reproduce the bug there.

Sorry for the inconvenience, I hope you understand the reasoning above.

Cheers