Introduce qproperty-type-mismatch checker
ClosedPublic

Authored by jeanmichaelcelerier on Aug 6 2019, 8:17 AM.

Details

Reviewers
smartins
Summary

This checks that the type of the members and member functions
match with the type declared in Q_PROPERTY.

Diff Detail

Repository
R74 Clazy
Branch
feature/qproperty-type-mismatch
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 14785
Build 14803: arc lint + arc unit
jeanmichaelcelerier requested review of this revision.Aug 6 2019, 8:17 AM
jeanmichaelcelerier created this revision.

Run ./dev-scripts/generate.py --generate (which reads the checks.json file)

As that will fill in some files that are supposed to be modified to (Readme, changelog etc), it's mostly automacs

smartins added inline comments.Sep 3 2019, 5:29 PM
tests/qproperty-type-mismatch/main.cpp.expected
1

ending in 'c', looks like a typo

fixing locally and will push

smartins accepted this revision.Sep 3 2019, 5:29 PM
This revision is now accepted and ready to land.Sep 3 2019, 5:29 PM
smartins closed this revision.Sep 3 2019, 5:29 PM

this landed, thanks!