[umbrello] [Bug 442115] New: C++ importer does not recognize 'noexcept' keyword

Mathias Bavay bugzilla_noreply at kde.org
Tue Sep 7 10:42:06 BST 2021


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

            Bug ID: 442115
           Summary: C++ importer does not recognize 'noexcept' keyword
           Product: umbrello
           Version: 2.31.3 (KDE releases 20.04.3)
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: importer
          Assignee: umbrello-devel at kde.org
          Reporter: bavay at slf.ch
  Target Milestone: ---

When a method has the 'noexcept' keyword, it prevents importing the whole
class.

STEPS TO REPRODUCE
class WorkflowPanel : public QWidget {
        Q_OBJECT

        public:
                explicit WorkflowPanel(QWidget *parent = nullptr);
                void buildWorkflowPanel(const QDomDocument &xml);
                IniFolderView * getFilesystemView() const noexcept { return
filesystem_; }
};

OBSERVED RESULT
This does not import (ie. there is no new class int the tree view) unless
'noexcept' is removed from the getFilesystemView() declaration.

EXPECTED RESULT
The class 'WorkflowPanel' should have been imported (ie added to the tree
view).

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18.7
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
I could reproduce the bug with the latest snap package too (21.08.0).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list