Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330752 - Type Hierarchy fails for classes derived from a template class
Summary: Type Hierarchy fails for classes derived from a template class
Status: CLOSED DUPLICATE of bug 230925
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 12:13 EST by Tim CLA
Modified: 2010-11-24 03:36 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***