1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00
cdt/core
Thomas Corbat 786e2137eb Bug 399215 - Toggle Function breaks the code...
- Test case for reproducing the problem.
- The code is lost because a copy of the body, which contains macro
references is not rewritten, but its raw signature is taken. The raw
signature of a copy is empty in this case. I've solved this issue by
using the raw signature of the original node for get raw signature. This
is a fundamental change of ASTNode.getRawSignature(). We could also
solve this in the StatementWriter to get the original node before
accessing the raw signature.

Change-Id: I64b408b09444df818d30d99d99de4a1974eacf93
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/39406
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-01-16 09:26:19 -05:00
..
org.eclipse.cdt.alltests Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core Bug 399215 - Toggle Function breaks the code... 2015-01-16 09:26:19 -05:00
org.eclipse.cdt.core.aix Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.linux Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.linux.ia64 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.linux.ppc Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.linux.ppc64 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.linux.ppc64le Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.linux.x86 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.linux.x86_64 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.macosx Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.native Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05: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 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.tests Code cleanup. 2015-01-08 16:33:32 -08:00
org.eclipse.cdt.core.win32 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.win32.x86 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.core.win32.x86_64 Incremented CDT feature version to 8.6.0. 2015-01-06 19:40:38 -05:00
org.eclipse.cdt.ui Bug 457590 - Workspace... button does not work in Library Path picker 2015-01-15 16:48:56 -05:00
org.eclipse.cdt.ui.tests Bug 399215 - Toggle Function breaks the code... 2015-01-16 09:26:19 -05:00