Bug 442115 - C++ importer does not recognize 'noexcept' keyword
Summary: C++ importer does not recognize 'noexcept' keyword
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: importer (show other bugs)
Version: 2.31.3 (KDE releases 20.04.3)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-07 09:42 UTC by Mathias Bavay
Modified: 2022-02-12 19:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.33.80 (KDE releases 22.03.80)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Bavay 2021-09-07 09:42:06 UTC
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).