Bug 400308 - Please add a test to validate old style connects
Summary: Please add a test to validate old style connects
Status: REPORTED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-25 19:13 UTC by Andre Woebbeking
Modified: 2018-10-25 19:13 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 Andre Woebbeking 2018-10-25 19:13:10 UTC
As we only have runtime checks for old style connects it would be nice to get errors already at compile time:
1) does the signal text match the method text
2) test whether signal and slot are members
3) test whether signal and slot are really signals and slots

I think it's necessary to separate 2) and 3) to make 3) configurable to avoid false positives when compiling with icecream (preprocessed file).

Thanks in advance!


Cheers,
André