1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-01 12:43:26 +02:00
cdt/core/org.eclipse.cdt.core
qdagans 8649b65570 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.

Change-Id: I60b64957af3fdfd5463e89c2a36eea13bd280887
Signed-off-by: qdagans <anders.xb.dahlberg@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28826
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-05 20:34:13 -04:00
..
.settings
browser
META-INF Automatic update of include statements and include guards when header 2014-06-17 15:14:50 -07:00
model/org/eclipse/cdt Bug 431026 - NPE while checking Assembler resources (*.S - files) 2014-06-21 10:58:22 -04:00
parser/org/eclipse/cdt Bug 84144 - [Parser2] GCC: labels as values 2014-07-05 20:34:13 -04:00
schema
src/org/eclipse/cdt Cosmetics. 2014-06-17 15:12:01 -07:00
templateengine/org/eclipse/cdt/core/templateengine
utils/org/eclipse/cdt Cosmetics. 2014-06-04 20:30:44 -07:00
.classpath
.cvsignore
.options
.project
about.html
build.properties Bug 303083 - Make cdt.core.native plugin consistent after rename 2014-05-27 12:04:41 -04:00
ChangeLog
ChangeLog-2003
plugin.properties Bug 303083 - Split out the CDT Spawner into a separate feature 2014-05-26 09:38:09 -04:00
plugin.xml Revert "added supported gnu file types to cdt file-types-list (defined here: http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Overall-Options.html#index-file-name-suffix-71)" 2014-05-09 09:36:06 -07:00
pom.xml Automatic update of include statements and include guards when header 2014-06-17 15:14:50 -07:00