Bug 359997 - new check: Warn when using Q_ENUMS
Summary: new check: Warn when using Q_ENUMS
Status: RESOLVED FIXED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-02 13:54 UTC by Sergio Martins
Modified: 2016-08-28 12:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Martins 2016-03-02 13:54:13 UTC
Should use Q_ENUM instead
Comment 1 Sergio Martins 2016-08-28 12:03:31 UTC
Git commit c3391bfaf1f083cd7b99884bcf22c783c77dcc99 by Sergio Martins.
Committed on 28/08/2016 at 12:02.
Pushed by smartins into branch 'master'.

New check: Warn on Q_ENUMS

Use Q_ENUM instead

M  +1    -0    CMakeLists.txt
A  +3    -0    checks/level0/README-qenums.md
A  +79   -0    checks/level0/qenums.cpp     [License: LGPL (v2+)]
A  +36   -0    checks/level0/qenums.h     [License: LGPL (v2+)]
M  +11   -11   tests/clazy/test_requested_checks.sh.expected
A  +7    -0    tests/qenums/config.json
A  +16   -0    tests/qenums/main.cpp     [License: UNKNOWN]  *
A  +1    -0    tests/qenums/main.cpp.expected

The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.


http://commits.kde.org/clazy/c3391bfaf1f083cd7b99884bcf22c783c77dcc99