[clazy] [Bug 359867] New: Missing Q_DECLARE_TYPEINFO: QDate

Stephane MANKOWSKI via KDE Bugzilla bugzilla_noreply at kde.org
Sat Feb 27 20:10:33 GMT 2016


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

            Bug ID: 359867
           Summary: Missing Q_DECLARE_TYPEINFO: QDate
           Product: clazy
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: stephane at mankowski.fr
                CC: smartins at kde.org

Clary returns warnings like on Qt objects used in lists.
Examples:
warning: Missing Q_DECLARE_TYPEINFO: QDate [-Wclazy-missing-typeinfo]
warning: Missing Q_DECLARE_TYPEINFO: QModelIndex [-Wclazy-missing-typeinfo]

Reproducible: Always

Steps to Reproduce:
1. Create a cpp file with
QList<QDate> a;
QVector<QModelIndex> a;

2. Check it with clazy

Actual Results:  
You should have warning saying that Q_DECLARE_TYPEINFO is missing.

Expected Results:  
You should not have these warnings because Q_DECLARE_TYPEINFO are not missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list