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

Bug 330752

Summary: Type Hierarchy fails for classes derived from a template class
Product: [Tools] CDT Reporter: Tim <minesadab>
Component: cdt-parserAssignee: Project Inbox <cdt-parser-inbox>
Status: CLOSED DUPLICATE QA Contact: Markus Schorn <mschorn.eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Tim CLA 2010-11-21 12:13:46 EST
Build Identifier: M20100909-0800

When I try to display the Type Hierarchy for class A that is derived from a template class, the supertypes of class A are not shown (ie the template class from which class A is derived does not appear in the hierarchy, and class A is in fact shown as the highest class)

Reproducible: Always

Steps to Reproduce:
The following code can be used to reproduce. If an "Open Type Hierarchy" is performed on DerivedClassA, its  base class (SuperType) is not shown in the hierarchy. 

template <class T>
class SuperType
{
	T testType;
};


class DerivedClassA : public SuperType<int>
{
	
};
Comment 1 Markus Schorn CLA 2010-11-24 03:36:49 EST

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