[umbrello-devel] [umbrello] [Bug 330778] New: c++ parser upgrade
Ralf Habacker
ralf.habacker at freenet.de
Tue Feb 4 23:53:30 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=330778
Bug ID: 330778
Summary: c++ parser upgrade
Classification: Unclassified
Product: umbrello
Version: unspecified
Platform: unspecified
OS: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: ralf.habacker at freenet.de
umbrello's recent c++ parser has been taken from the kdevelop 3.0 release.
While fixing bugs in this parser, there has been several issues found:
- wrong code position reporting
- hard to find errors and to extend
- slow import
- external dependency to an outdated boost version
With the c++ parser of kdevelop 3.5 there is an updated parser available. The
advantages of upgrading to this parser are:
- get rid of the boost dependency
- easier bug fixing
- easier to extend
- Correct error reporting to the user with a log window or similar to find
missing include dirs.
Drawbacks:
- need to be ported to Qt4 (several qt3 classes are used)
- need some migration from KSharedPtr to std::auto_ptr
Reproducible: Always
Notes:
1. in general there would be an option to take recent kdevelop 4 parser. The
drawback is that it uses a different ast implementation, which needs
refactoring of the ast to umbrello model feeder. KDE 3.5 c++ parsers ast is
mostly compatible to the recently used 3.0 ast.
2. kdevelop developers has been asked to share there c++ parser implementation
with umbrello (to place it into kdevplatform), which has been rejected. They do
not want to make their ast model public.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list