| Summary: | support multi-line Q_PROPERTY | ||
|---|---|---|---|
| Product: | [Developer tools] clazy | Reporter: | Milian Wolff <mail> |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chgans, smartins |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/clazy/b4ad7ee09aa44138d5df04bc69ac466da8d59aac | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
clazy version: 1.5 clang version: 7.0.1 Git commit b4ad7ee09aa44138d5df04bc69ac466da8d59aac by Sergio Martins. Committed on 15/02/2019 at 19:15. Pushed by smartins into branch 'master'. qproperty-without-notify: Fix multi-line Q_PROPERTY "NOTIFY" was being compared to "NOTIFY\n" M +2 -1 src/checks/level1/qproperty-without-notify.cpp M +5 -0 src/clazy_stl.h M +4 -0 tests/qproperty-without-notify/main.cpp https://commits.kde.org/clazy/b4ad7ee09aa44138d5df04bc69ac466da8d59aac *** Bug 423640 has been marked as a duplicate of this bug. *** |
clazy reports: Q_PROPERTY(int maxTrianglesPerTexel READ maxTrianglesPerTexel WRITE setMaxTrianglesPerTexel NOTIFY => Q_PROPERTY should have either NOTIFY or CONSTANT the code is: Q_PROPERTY(int maxTrianglesPerTexel READ maxTrianglesPerTexel WRITE setMaxTrianglesPerTexel NOTIFY maxTrianglesPerTexelChanged)