| Summary: | Wrong diagnostic with multi-lines Q_PROPERTY | ||
|---|---|---|---|
| Product: | [Developer tools] clazy | Reporter: | Christian Gagneraud <chgans> |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | smartins |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** This bug has been marked as a duplicate of bug 404327 *** fixed in 1.6 |
SUMMARY Wrong diagnostic with multi-lines Q_PROPERTY STEPS TO REPRODUCE 1. Use QtCreator with built in clazy 2. Multi-line Q_PROPERTY, eg: Q_PROPERTY(QString controllerFirmwareCrc READ controllerFirmwareCrc NOTIFY controllerFirmwareCrcChanged) OBSERVED RESULT /home/chgans/Projects/neon-factory-support/task/NTA-108-touchscreen-module/sources/Testing/Modules/TouchscreenModule.h:79:5: warning: Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify] EXPECTED RESULT No issue reported SOFTWARE/OS VERSIONS Ubuntu 18.04, 64 bits Qt Version: 5.12 Unknown version of clazy ADDITIONAL INFORMATION