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: [email protected]
Reporter: [email protected]
CC: [email protected]
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 watching all bug changes.