private void removeAllPadding(Composite composite) {
		if (!(composite instanceof Structure struct)) {
			return;
		}
		boolean doDelete = composite.isPackingEnabled();
		DataTypeComponent[] definedComponents = struct.getDefinedComponents();
		for (int i = definedComponents.length - 1; i >= 0; i--) {
			DataTypeComponent dtc = definedComponents[i];
			if (isPaddingComponent(dtc, false)) {
				if (doDelete) {
					struct.delete(dtc.getOrdinal());
				}
				else {
					struct.clearComponent(dtc.getOrdinal());
				}
			}
		}
	}
Computes and sets the alignment of the composite.  Will not set an alignment if the
calculation does not make sense
@param composite the composite to affect
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/DefaultCompositeMember.java