1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/core
qdagans bf0ac98464 Bug 84144 - [Parser2] GCC: labels as values
Add support for GNU goto label references.

"http://gcc.gnu.org/onlinedocs/gcc-3.3.2/gcc/Labels-as-Values.html#Labels%20as%20Values
GCC extensions to C allow taking the address of labels. These addresses can be used in a goto statement where any expression of type void * is allowed:

foo:
  void* labelPtr = &&foo;
  goto *labelPtr;", comment from Andrew Niefer

Add new classes and necessary changes in existing classes to support the above.
Updated to not change API.

Signed-off-by: Anders Dahlberg <anders.xb.dahlberg@ericsson.com>
Change-Id: Ibb69ce7748f201c15bdf2da05348c157cdd5aaae
Reviewed-on: https://git.eclipse.org/r/29574
Tested-by: Hudson CI
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-07-09 05:10:09 -04: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 84144 - [Parser2] GCC: labels as values 2014-07-09 05:10:09 -04:00
org.eclipse.cdt.core.aix Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.linux Build with 4.4 and use target definition file for maven build 2014-06-03 11:52:57 -04:00
org.eclipse.cdt.core.linux.ia64 Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.linux.ppc Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.linux.ppc64 Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.linux.x86 Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.linux.x86_64 Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.macosx Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.native Bug 303083 - Fix MANIFEST.MF split package and BREE for native plugin 2014-05-30 11:48:34 -04:00
org.eclipse.cdt.core.qnx Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.solaris Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.tests Bug 84144 - [Parser2] GCC: labels as values 2014-07-05 20:34:13 -04:00
org.eclipse.cdt.core.win32 Bug 303083 - Make cdt.core.native plugin consistent after rename 2014-05-27 12:04:41 -04:00
org.eclipse.cdt.core.win32.x86 Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.core.win32.x86_64 Bug 303083 - Rename spawner bundle to 'native' 2014-05-26 14:38:12 -04:00
org.eclipse.cdt.ui Bug 430342 - Completion of template arguments. 2014-07-07 03:05:57 -04:00
org.eclipse.cdt.ui.tests Bug 430342 - Completion of template arguments. 2014-07-07 03:05:57 -04:00