https://bugs.kde.org/show_bug.cgi?id=478198

            Bug ID: 478198
           Summary: Umbrello import wizard does not recognize the
                    'override' C++ keyword
    Classification: Applications
           Product: umbrello
           Version: Git
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: importer
          Assignee: umbrello-de...@kde.org
          Reporter: nicolam...@aol.com
  Target Milestone: ---

SUMMARY
When importing C++ code containing the 'override' keyword Umbrello either does
not import the class, or imports it with missing methods, or the overall import
is screwed. A simple reproducer is available below; correct behavior can be
restored by removing the `override` keyword.

This seems to be a regression since a similar bug has been fixed in
https://bugs.kde.org/show_bug.cgi?id=386258.

Using Umbrello 2.38.3 (Applications 23.08.3); this version is not listed in the
`Version` list of the bug tracker so I chose `Git`.

STEPS TO REPRODUCE
1. Create a simple header file like this:
```
class I {
public:
  virtual void Method() = 0;
};

class C: public I {
public:
  void Method() override  {}
};
```
2. Import it with the Code Importing Wizard 
3. Verify that class `I` is parsed in the import logger tab

OBSERVED RESULT
Class `I` is not available in the Tree View

EXPECTED RESULT
Class `I` should be available

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ArchLinux
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to