Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 294310
Collapse All | Expand All

(-)parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPTemplateTemplateParameter.java (-9 / +1 lines)
Lines 55-66 Link Here
55
	private static final int MEMBERLIST = PDOMCPPBinding.RECORD_SIZE + 4;
55
	private static final int MEMBERLIST = PDOMCPPBinding.RECORD_SIZE + 4;
56
	private static final int PARAMETERID= PDOMCPPBinding.RECORD_SIZE + 8;
56
	private static final int PARAMETERID= PDOMCPPBinding.RECORD_SIZE + 8;
57
	private static final int PARAMETERS= PDOMCPPBinding.RECORD_SIZE + 12;
57
	private static final int PARAMETERS= PDOMCPPBinding.RECORD_SIZE + 12;
58
59
	/**
60
	 * The size in bytes of a PDOMCPPTemplateTypeParameter record in the database.
61
	 */
62
	@SuppressWarnings("hiding")
58
	@SuppressWarnings("hiding")
63
	protected static final int RECORD_SIZE = PDOMCPPBinding.RECORD_SIZE + 14;
59
	protected static final int RECORD_SIZE = PDOMCPPBinding.RECORD_SIZE + 16;
64
	
60
	
65
	private ICPPScope fUnknownScope;
61
	private ICPPScope fUnknownScope;
66
	private int fCachedParamID= -1;
62
	private int fCachedParamID= -1;
Lines 239-248 Link Here
239
			((PDOMNode) type).delete(linkage);
235
			((PDOMNode) type).delete(linkage);
240
		}
236
		}
241
		Database db= getDB();
237
		Database db= getDB();
242
		long valueRec= db.getRecPtr(record + DEFAULT_TYPE);
243
		if (valueRec != 0)
244
			db.getString(valueRec).delete();
245
246
		long oldRec= db.getRecPtr(record + PARAMETERS);
238
		long oldRec= db.getRecPtr(record + PARAMETERS);
247
		IPDOMCPPTemplateParameter[] oldParams= getTemplateParameters();
239
		IPDOMCPPTemplateParameter[] oldParams= getTemplateParameters();
248
		if (oldRec != 0)
240
		if (oldRec != 0)

Return to bug 294310