[clazy] [Bug 359997] new check: Warn when using Q_ENUMS

Sergio Martins via KDE Bugzilla bugzilla_noreply at kde.org
Sun Aug 28 13:03:31 BST 2016


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

Sergio Martins <smartins at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/claz
                   |                            |y/c3391bfaf1f083cd7b99884bc
                   |                            |f22c783c77dcc99
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Sergio Martins <smartins at kde.org> ---
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

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



More information about the Unassigned-bugs mailing list