Since we don't have a semantic model of assembly code, just look
for a CElement with a name matching the selected identifier in the
assembly file, and search for the selected identifier in the index.
Change-Id: Ifae8e7f608ca27b06fdb4d1d9d1797c88469a6c5
Currently, it only does something useful for include statements.
It uses the C model to resolve the include, much like clicking
on the include in the Outline view.
Change-Id: I4c50ff4b477721795d58f44acc5c0389c05d4768
- Avoid a ClassCastException in CPPConstructor.getMemberEvaluation()
- Fix an unsafe method call in EvalCompositeAccess.getType()
- Emit a log message in an error case in ASTInternal.getDefinitionOfBinding()
- Emit a log message in an error case in CompositeValue.setSubValue()
Change-Id: I5932c8b661e31eff32c2bb138efdb3029894d0ab
This catches recursion along paths in EvalUtil.getVariableValue() that don't
go through CPPVariabble.getInitialValue().
The patch also improves caching in EvalInitList.
Change-Id: I343bbf1bb7493b2c83771de3659209e5d512fd80
We were already using it for expressions whose operands didn't evaluate
to a number, but that missed expressions with enumeration operands (which
can call an overloaded operator).
Change-Id: I6f6e4ff3ba3c72db70ac6f8929473b065f2d758f
Commit 6335a5c2ba reverted
a previous commit which made the changes being reverted
here unecessary.
This reverts commit 896eba55c5.
Change-Id: I890a67513b35df7708f9fc33c0be3e879fdb9e0e
Includes splitting out and expanding CommandLineArgsTest
from LaunchConfigurationAndRestartTest.
Change-Id: I19fa97a847d908c1c780ca767cf688f26a51d684
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
This commit introduces a PersistentPTY. By using it, we now allow the
user to restart the process from the GDB console (by pressing 'run').
In this case, the I/O will continue using the PersistentPTY.
Previously, the PTY would have been closed, and GDB would fail to
restart the process because it would fail to use the closed PTY.
Change-Id: I395b402e297a2043af8fce33df163eddef9e6c7a
Make sure Core Build handles the properties set by these tabs
correctly. A bunch of string externalization too.
Change-Id: I54a61b4d2520a0952c43608169747e792826062e
- Reuse the TU from the open editor if present, otherwise load it from
workspace
- Added test plugin org.eclipse.cdt.codan.checkers.ui.test
Change-Id: I725b7b8e462ffba39dd6c9a828ab72dd58f86b1f
Signed-off-by: Dominic Scharfe <dominic.scharfe@coseda-tech.com>
When a second config is added, the binary parsers wasn't getting
reset so the new binary parser wasn't getting called.
Also cleans up the reset to remove the close that happens. Not sure
why it was needed so will keep an eye out for new bad behavior.
Change-Id: I0b4cb628829b138e2ceb3f08833649b90255648c
The Delete operation doesn't properly call
TextEditorAction.validateEditorInputState() and as a result doesn't work
in version control environments that keep unchanged files read-only.
Another problem is that Ctrl+Z doesn't trigger Undo when the Outline
view is active. When the Delete element action is reintroduced it should
be made to behave the same way as in JDT, e.g, display a prompt before
deletion and be bound to the Delete key.
This reverts commit f034a69fb7.
Change-Id: I6d37f5aaea1770143fbf84288068794430a5b0e0
Adding the delete refactor to the refactor context menu in the Outline
View.
Change-Id: I208078d2200853389bf4eb114756cf4e9b719134
Signed-off-by: ljyanesm <yanes.luis@gmail.com>
Fixed bug with mixing #pragma once with standard include guard.
Change-Id: Ic418ab290f9d322d943bab56625ce1f0fe6b2aee
Signed-off-by: Joseph Henry <joseph.henry@sas.com>