1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00
Find a file
Andrew Eidsness 57b53b0e85 Bug 426238: Update head of external references list when needed
When a PDOMName is deleted and that name is the head of an external
references list, the list's head must be changed.

The Qt plugin is the only user of the external reference list.  One case
is the link from a SIGNAL or SLOT expansion to the C++ method binding
for the corresponding function.  In this case, the problem will appear
when all of the following are true:

1) The file containing the SIGNAL/SLOT expansion is changed and the
   index updated
2) The corresponding function is declared in a different file
3) The the function is the first entry in the external references list

When #2 is false, the binding (and the entire list) is removed as part
of updating the file containing the name.

When #3 is false, the list is updated with existing code using the
PDOMName's {next|prev}InBinding pointers.

Change-Id: I1e27c7c2356ca1fb68f57d69c40728289288ed66
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20972
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-24 13:49:59 -05:00
build Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
codan Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
core Bug 426238: Update head of external references list when needed 2014-01-24 13:49:59 -05:00
cross Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
debug Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
doc Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
dsf Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
dsf-gdb Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
jtag Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
launch/org.eclipse.cdt.launch Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
llvm Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
lrparser Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
memory Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
p2 Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
qt Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
releng Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
testsrunner Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
upc Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
util Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
visualizer Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
windows Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
xlc Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
.gitignore Ignore NFS-created files. 2012-11-08 13:34:54 -08:00
pom.xml Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00