mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-29 07:31:38 +00:00
GP-0_ghizard fix redundancy and test from GP-3649
This commit is contained in:
parent
1f6cb534af
commit
9c0f2e61f7
@ -227,7 +227,7 @@ public abstract class AbstractDemangledFunctionDefinitionDataType extends Demang
|
||||
|
||||
StringBuilder typeBuffer = new StringBuilder();
|
||||
int pointerLevels = getPointerLevels();
|
||||
if (pointerLevels > 0 || isReference() || isRValueReference()) {
|
||||
if (pointerLevels > 0 || isReference()) {
|
||||
|
||||
addParentName(typeBuffer);
|
||||
|
||||
|
@ -1578,7 +1578,7 @@ public class GnuDemanglerParserTest extends AbstractGenericTest {
|
||||
assertEquals("Name of type parsed", "function", demangParamDT.getName());
|
||||
assertEquals("Param Type Name parsed", "boost", demangParamDT.getNamespace().toString());
|
||||
assertEquals("Param Template parsed", "<void ()>", demangParamDT.getTemplate().toString());
|
||||
assertTrue("Is referent", demangParamDT.isReference());
|
||||
assertTrue("Is referent", demangParamDT.isLValueReference());
|
||||
|
||||
assertEquals(
|
||||
"undefined LogLevelMonitor::registerKeysChangedCallback(boost::function<void ()> const &)",
|
||||
@ -1611,7 +1611,7 @@ public class GnuDemanglerParserTest extends AbstractGenericTest {
|
||||
assertEquals("Param Type Name parsed", "boost", demangParamDT.getNamespace().toString());
|
||||
assertEquals("Param Template parsed", "<void (ares_options *,int *)>",
|
||||
demangParamDT.getTemplate().toString());
|
||||
assertTrue("Is referent", demangParamDT.isReference());
|
||||
assertTrue("Is referent", demangParamDT.isLValueReference());
|
||||
assertTrue("Is Const", demangParamDT.isConst());
|
||||
|
||||
assertEquals(
|
||||
|
Loading…
Reference in New Issue
Block a user