1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00
Find a file
Andrew Eidsness 70f50274b4 Bug 424824: Codan checker for Qt
This implements a Codan checker for QObject::connect and disconnect
function calls.  There are several overloads for each function, but the
basic call looks like:

    Q * q;
    QObject::connect( q, SIGNAL( sign() ), q, SLOT( slot() ) );

This function calls requires that Q have a Qt signal called sign and a
Qt slot called slot, e.g.,

    class Q : public QObject
    {
    Q_OBJECT
    Q_SIGNAL void sign();
    Q_SLOT   void slot();
    };

The Qt checker raises a warning if either condition is not true.

It also raises a warning for SIGNAL or SLOT expansions without a
parameter.

Change-Id: If68a5bcdabb3f118801675e46ae926e6a250378a
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20231
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-02 21:53:46 -05:00
build Bug 423192 - Fix AutotoolsNewMakeGenerator getWinOSType method 2013-12-05 17:28:40 -05:00
codan Bug 424160: null checks for CodanPreferencesLoader.getProjectNode 2013-12-17 17:17:59 -05:00
core Cosmetics. 2014-01-02 17:28:50 -08:00
cross bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
debug Bug 419391 - Contribute Windows PTY support 2013-12-16 09:54:34 +01:00
doc Bug 412380 Documentation for "Skip trivial initializer" flag. 2013-09-27 09:51:23 -04:00
dsf Typos 2013-12-05 06:45:41 -05:00
dsf-gdb Bug 424483 - Accept yet anther GDB version format 2013-12-20 16:14:31 -05:00
jtag Avoid duplicating fields in FinalLaunchSequence sub-classes 2013-12-03 14:12:35 -05:00
launch/org.eclipse.cdt.launch Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
llvm bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
lrparser Bug 353281 - Content assist for designated initializers, additional fix 2013-12-20 20:33:20 -05:00
memory Bug 416391 - NullPointerException in FPRendering when adding in Mem view 2013-09-06 19:44:22 -04:00
p2 bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
qt Bug 424824: Codan checker for Qt 2014-01-02 21:53:46 -05:00
releng Forgot run goal on repo unzip. 2013-12-12 16:08:21 -05:00
testsrunner Bug 422962 - Boost Testrunner: BOOST_PARAM_TEST_CASE not working 2013-12-11 23:03:06 -05:00
upc Bug 421247 - ASTNode.copy() chaining inconsistent 2013-11-25 21:37:10 -05:00
util bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
visualizer bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
windows bug 420287: CDT features are scattered around in update manager 2013-10-24 12:50:54 -04:00
xlc Bug 421247 - ASTNode.copy() chaining inconsistent 2013-11-25 21:37:10 -05:00
.gitignore Ignore NFS-created files. 2012-11-08 13:34:54 -08:00
pom.xml Bug 418536 - Add Qt tests to maven build. 2013-11-29 23:27:13 -05:00