aboutsummaryrefslogtreecommitdiffstats
path: root/tests/incorrect-emit
Commit message (Collapse)AuthorAgeFilesLines
* incorrect-emit: Fix unit-testsupstream/1.4Sergio Martins2019-01-141-2/+2
| | | | The warning message changed, so adapt the reference output
* incorrect-emit: Fix two false positivesSergio Martins2017-03-041-4/+2
| | | | | | | | | | 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
* incorrect-emit: Add failing unit-test for bug 377134Sergio Martins2017-03-043-0/+24
| | | | CCBUG: 377134
* incorrect-emit: Add failing unit-test for bug 377140Sergio Martins2017-03-043-2/+36
| | | | CCBUG: 377140
* incorrect-emit: Add unit-test for a bug that should be fixedSergio Martins2016-12-281-0/+14
| | | | CCBUG: 373947
* incorrect-emit: Add more unit-testsSergio Martins2016-12-272-0/+13
|
* incorrect-emit: Also honour Q_SLOT and Q_SIGNAL keywordsSergio Martins2016-12-242-5/+16
| | | | CCBUG: 373947
* incorrect-emit: Don't warn about emit in CTOR if inside a lambdaSergio Martins2016-12-211-0/+1
| | | | | | | The emit can be inside a lambda, which is fine, since it probably will be emitted later and not when CTOR is being run. CCBUG: 373947
* incorrect-emit: Warn when emitting signal inside CTORSergio Martins2016-12-192-4/+13
| | | | it cna't be caught
* Fix build against clang 3.6Sergio Martins2016-12-181-1/+2
| | | | clang 3.6 doesn't support preprocessor callbacks
* Introducing incorrect-emit checkSergio Martins2016-12-183-0/+62
Warns when using emit on non-signal or when not using emit on signal.