[clazy] [Bug 464368] New: qproperty-type-mismatch fails to extract type when Q_PROPERTY( is followed by a whitespace
Eugene Shalygin
bugzilla_noreply at kde.org
Mon Jan 16 11:01:37 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=464368
Bug ID: 464368
Summary: qproperty-type-mismatch fails to extract type when
Q_PROPERTY( is followed by a whitespace
Classification: Developer tools
Product: clazy
Version: unspecified
Platform: Other
OS: Microsoft Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: eugene.shalygin+bugzilla.kde at gmail.com
CC: smartins at kde.org
Target Milestone: ---
If property is declared as Q_PROPERTY( Type name ... ), clazy derives property
type as an empty string. But some code formatting styles require whitespace
inside braces :(
STEPS TO REPRODUCE
1. Insert a whitespace after the opening brace in any Q_PROPERTY declaration
OBSERVED RESULT
Clazy resolves the type of the property to empty string and
qproperty-type-mismatch always reports errors.
EXPECTED RESULT
Clazy trims contents of the Q_PROPERTY() macro before parsing.
Clazy from Qt Creator 9.0.1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list