GP-1036 Added new data clear mode CLEAR_ALL_DEFAULT_CONFLICT_DATA for

DataUtilities
This commit is contained in:
ghidra1 2022-03-09 17:32:28 -05:00
parent 2bced1cd43
commit f6ad8045e9

View file

@ -101,6 +101,13 @@ public final class DataUtilities {
if (Undefined.isUndefined(dt)) {
return true;
}
if (dt instanceof TypeDef) {
TypeDef td = (TypeDef) dt;
if (!td.isAutoNamed()) {
return false;
}
dt = td.getDataType();
}
if (dt instanceof Pointer) {
Pointer p = (Pointer) dt;
dt = p.getDataType();