Bug 442115

Summary: C++ importer does not recognize 'noexcept' keyword
Product: [Applications] umbrello Reporter: Mathias Bavay <bavay>
Component: importerAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal CC: okellogg
Priority: NOR    
Version: 2.31.3 (KDE releases 20.04.3)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.33.80 (KDE releases 22.03.80)

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).