1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
cdt/core
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
..
org.eclipse.cdt.alltests Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core Bug 426238: Update head of external references list when needed 2014-01-24 13:49:59 -05:00
org.eclipse.cdt.core.aix Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.linux Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
org.eclipse.cdt.core.linux.ia64 Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.linux.ppc Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.linux.ppc64 Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.linux.x86 Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.linux.x86_64 Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.macosx Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.qnx Bug 314504 ProcessList leaks file descriptors during #getProcessList() 2010-05-27 10:01:52 +00:00
org.eclipse.cdt.core.solaris Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.tests Bug 426238: Update head of external references list when needed 2014-01-24 13:49:59 -05:00
org.eclipse.cdt.core.win32 Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.win32.x86 Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.core.win32.x86_64 Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00
org.eclipse.cdt.ui Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
org.eclipse.cdt.ui.tests Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00