https://bugs.kde.org/show_bug.cgi?id=423640

            Bug ID: 423640
           Summary: Wrong diagnostic with multi-lines Q_PROPERTY
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: chg...@gmail.com
                CC: smart...@kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to