Diffusion Clazy 53c68bc6888f

incorrect-emit: Fix two false positives

Authored by smartins on Mar 4 2017, 12:32 PM.

Description

incorrect-emit: Fix two false positives

When we're comparing a method's source location to check if it's
affected by Q_SIGNAL we must use the first declaration of that method,
and not other declarations which can also be a a definition, and live
outside of the class

BUG: 377140
BUG: 377134

Details

Committed
smartinsMar 4 2017, 12:32 PM
Parents
R74:9315e636246a: incorrect-emit: Add failing unit-test for bug 377134
Branches
Unknown
Tags
Unknown