1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 16:55:38 +02:00
Find a file
Andrew Eidsness 030bfc50fb Bug 425102 QObject::connect content assist broken
The QObject::connect content assistant does not work when the receiver
of the function call is an implicit this.  E.g.,

class Q : public QObject { Q_OBJECT
    f()
    {
        this->connect( ... );   // works
        connect( ... );         // does not work
        QObject::connect( ... ) // does not work
    }
};

I've changed the Qt's ASTUtil.getReceiverType to navigate to the
ICPPClassType through the IScope's.  The previous implementation was
relying on the connect function call being an IASTField

I've also added a test case for this problem.

Change-Id: I96c29a9a452280068bda39a63414c50008bfad37
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20399
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-10 10:38:13 -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 Bug 424635 - The wrench icon overlay for a source file does not appear 2014-01-06 15:53:33 -05: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 422558: Managed build projects context help is broken 2014-01-07 10:21:18 -05:00
dsf Bug 386175 - all threads that have ever been displayed get refreshed on 2014-01-03 13:41:36 -05:00
dsf-gdb Bug 424996 - Improved error reporting when determining GDB version 2014-01-09 05:32:01 -05:00
jtag Bug 413437 - Disable 'delay' command when appropriate. This was a bug 2014-01-09 11:46:41 -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 423201 remove the Generate Wascana launcher. 2014-01-06 14:03:53 -05:00
qt Bug 425102 QObject::connect content assist broken 2014-01-10 10:38:13 -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