[clazy] [Bug 423640] New: Wrong diagnostic with multi-lines Q_PROPERTY
    Christian Gagneraud 
    bugzilla_noreply at kde.org
       
    Mon Jun 29 06:11:26 BST 2020
    
    
  
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-bugs at kde.org
          Reporter: chgans at gmail.com
                CC: smartins at 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 the assignee for the bug.
    
    
More information about the Unassigned-bugs
mailing list