Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 260394

Summary: [Index] The size of an array is not stored in the index
Product: [Tools] CDT Reporter: Missing name Mising name <sebastian.moss>
Component: cdt-indexerAssignee: Project Inbox <cdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact: Doug Schaefer <cdtdoug>
Severity: enhancement    
Priority: P3    
Version: 6.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Missing name Mising name CLA 2009-01-08 09:37:37 EST
from PDOMArrayType:

	public IASTExpression getArraySizeExpression() throws DOMException {
		return null;
	}

Would this necessitate creating a PDOMLiteralExpression class?
Comment 1 Markus Schorn CLA 2009-01-08 10:44:33 EST
Expressions cannot be stored in the index, however we can store values. Therefore we need to deprecate the method 'IArrayType.getArraySizeExpression()' and provide a new one:

public interface IArrayType {
   ...
   IValue getArraySize();
}
Comment 2 Markus Schorn CLA 2010-01-05 05:19:55 EST
Fixed together with bug 294306.

*** This bug has been marked as a duplicate of bug 294306 ***