1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00
Find a file
Andrew Eidsness a512bbb011 Bug 424499: Find References does not work for Qt signals and slots
The QtASTVisitor is trying to use the QtIndex during indexing.  Any
results available at this time are based on the state of the AST the
last time the code was indexed.

This adds a test case to reproduce the problem.  The test cases indexes
the project one time.  It should find two references to the signal.  If
the QtIndex data is stale, then it will find 0 references.

This also replaces the code that looks for QObject::connect function
calls.  The proper behaviour is to find all overloads of #connect as
well as references with QObject::disconnect (all overloads) function
calls.

A new test case checks for references in all overloads of #connect and
#disconnect function calls.

Change-Id: I28fc4213d6dddff10f81a6bd3ef01e24c74f31db
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20223
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-02 21:49:38 -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 424499: Find References does not work for Qt signals and slots 2014-01-02 21:49:38 -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