https://bugs.kde.org/show_bug.cgi?id=367971
Bug ID: 367971 Summary: New Q_ENUM check also warns about Q_ENUMS for enums outside a class Product: clazy Version: unspecified Platform: Other OS: other Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: ch.ehrlic...@gmx.de CC: smart...@kde.org ----------------------------------- #include <QObject> //class Foo namespace Foo { // Q_OBJECT enum Bar { }; Q_ENUM ( Bar ) } //; ----------------------------------- Within this code, clazy warns about Q_ENUM usage but Q_ENUMS does not work here since there's no parent class which is derived from QObject and so no QMetaObject ... Did not find a simple solution for this problem so I had to write a bug report :) Reproducible: Always Steps to Reproduce: see details -- You are receiving this mail because: You are watching all bug changes.