1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-06 00:25:25 +02:00
cdt/core
Andrew Eidsness 6de9f5288e 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 14:31:29 -05:00
..
org.eclipse.cdt.alltests Cosmetics. 2013-12-03 18:05:48 -08:00
org.eclipse.cdt.core Bug 426238: Update head of external references list when needed 2014-01-24 14:31:29 -05:00
org.eclipse.cdt.core.aix Bug 406479 - Some "org.eclipse.cdt.core" fragments are missing an 2013-09-26 11:37:38 -04:00
org.eclipse.cdt.core.linux Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.linux.ia64 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.linux.ppc Bug 406479 - Some "org.eclipse.cdt.core" fragments are missing an 2013-09-26 11:37:38 -04:00
org.eclipse.cdt.core.linux.ppc64 Bug 406479 - Some "org.eclipse.cdt.core" fragments are missing an 2013-09-26 11:37:38 -04:00
org.eclipse.cdt.core.linux.x86 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.linux.x86_64 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.macosx Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.qnx
org.eclipse.cdt.core.solaris Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.tests Bug 426238: Update head of external references list when needed 2014-01-24 14:31:29 -05:00
org.eclipse.cdt.core.win32 Bug 419391 - Contribute Windows PTY support 2013-12-16 09:54:34 +01:00
org.eclipse.cdt.core.win32.x86 Bug 419391 - Contribute Windows PTY support 2013-12-16 09:54:34 +01:00
org.eclipse.cdt.core.win32.x86_64 Bug 419391 - Contribute Windows PTY support 2013-12-16 09:54:34 +01:00
org.eclipse.cdt.ui Bug 423696 - [New Class Wizard] base classes has a fully qualified name, 2014-01-22 10:24:07 -08:00
org.eclipse.cdt.ui.tests Bug 424876 - Unable to extract a function containing nested loops 2014-01-03 18:39:31 -08:00