Bug 400308

Summary: Please add a test to validate old style connects
Product: [Developer tools] clazy Reporter: Andre Woebbeking <woebbeking>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: smartins
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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é