| Summary: | c++ import does not recognize const methods | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Ralf Habacker <ralf.habacker> |
| Component: | importer | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.24.3 (KDE Applications 17.12.3) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | All | ||
| Latest Commit: | https://commits.kde.org/umbrello/b2643163dc56c4b4dd735a90c01ad1c399ca47fa | Version Fixed/Implemented In: | 2.24.90 (KDE Applications 18.03.90) |
| Sentry Crash Report: | |||
Git commit b2643163dc56c4b4dd735a90c01ad1c399ca47fa by Ralf Habacker. Committed on 05/04/2018 at 20:34. Pushed by habacker into branch 'Applications/18.04'. Fix 'c++ import does not recognize const methods' Also added a related import test case. FIXED-IN:2.25.0 (KDE Applications 18.04.0) A +3 -0 test/import/cxx/const-methods.h [License: UNKNOWN] * M +4 -0 umbrello/codeimport/kdevcppparser/cpptree2uml.cpp The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. https://commits.kde.org/umbrello/b2643163dc56c4b4dd735a90c01ad1c399ca47fa |
How to reproduce: 1. start umbrello 2. Import the following code class ConstMethodClass { bool ConstMethod(QString ¶m) const; }; 3. Open properties for imported method 'ConstMethod' What happens ? The checkbox indicating that the method is const is not checked What is required ? The 'const' keyword should be imported