[clazy] [Bug 377140] Signal methods no longer known as signals if signal method definition has been seen (e.g. with automoc)

2017-03-04 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=377140

Sergio Martins  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/cla
   ||zy/53c68bc6888f18409f8e803f
   ||b5b9c59f9b1d96c9
 Resolution|--- |FIXED

--- Comment #2 from Sergio Martins  ---
Git commit 53c68bc6888f18409f8e803fb5b9c59f9b1d96c9 by Sergio Martins.
Committed on 04/03/2017 at 12:32.
Pushed by smartins into branch '1.1'.

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
Related: bug 377134

M  +4-0src/AccessSpecifierManager.cpp
M  +2-4tests/incorrect-emit/config.json

https://commits.kde.org/clazy/53c68bc6888f18409f8e803fb5b9c59f9b1d96c9

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 377140] Signal methods no longer known as signals if signal method definition has been seen (e.g. with automoc)

2017-03-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=377140

Sergio Martins  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 377140] Signal methods no longer known as signals if signal method definition has been seen (e.g. with automoc)

2017-03-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=377140

--- Comment #1 from Sergio Martins  ---
Git commit 6d83b9398776eaa15505f496c5f7161a464c476e by Sergio Martins.
Committed on 04/03/2017 at 01:30.
Pushed by smartins into branch '1.1'.

incorrect-emit: Add failing unit-test for bug 377140

A  +30   -0tests/incorrect-emit/bug377140.cpp [License: UNKNOWN]  *
A  +0-0tests/incorrect-emit/bug377140.cpp.expected
M  +6-2tests/incorrect-emit/config.json

The files marked with a * at the end have a non valid license. Please read:
http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are
listed at that page.


https://commits.kde.org/clazy/6d83b9398776eaa15505f496c5f7161a464c476e

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 377140] Signal methods no longer known as signals if signal method definition has been seen (e.g. with automoc)

2017-03-03 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=377140

Sergio Martins  changed:

   What|Removed |Added

   Assignee|unassigned-b...@kde.org |smart...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.