diff options
author | Sergio Martins <smartins@kde.org> | 2017-03-04 12:32:37 +0000 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2017-03-04 12:32:37 +0000 |
commit | 53c68bc6888f18409f8e803fb5b9c59f9b1d96c9 (patch) | |
tree | acb26f5eeb24dd650f075b23623863b4dd673505 /tests/incorrect-emit | |
parent | 9315e636246a9bd365b3d22f66fbebefa5757e0e (diff) |
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
Diffstat (limited to 'tests/incorrect-emit')
-rw-r--r-- | tests/incorrect-emit/config.json | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/incorrect-emit/config.json b/tests/incorrect-emit/config.json index 4bea1c62..6905fdcd 100644 --- a/tests/incorrect-emit/config.json +++ b/tests/incorrect-emit/config.json @@ -5,12 +5,10 @@ "filename" : "main.cpp" }, { - "filename" : "bug377140.cpp", - "expects_failure" : true + "filename" : "bug377140.cpp" }, { - "filename" : "bug377134.cpp", - "expects_failure" : true + "filename" : "bug377134.cpp" } ] } |