Bug 184083

Summary: [Templates] class instances/specializations missing base classes
Product: [Tools] CDT Reporter: Bryan Wilkinson <bryan2233>
Component: cdt-coreAssignee: Doug Schaefer <cdtdoug>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 4.0Keywords: contributed
Target Milestone: 4.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed patch bjorn.freeman-benson: iplog+

Description Bryan Wilkinson CLA 2007-04-25 14:28:38 EDT
CPPClassInstance and CPPClassSpecialization assume that their specialized class's bases are instances of CPPBaseClause.  However, if the specialized class is from the index, its bases have a different implementation.
Comment 1 Bryan Wilkinson CLA 2007-04-25 14:31:18 EDT
Created attachment 64907 [details]
proposed patch

Created an interface, ICPPInternalBase, which allows implementation-independent specialization of a specialized class's bases in CPPClassInstance and CPPClassSpecialization.
Comment 2 Doug Schaefer CLA 2007-04-25 21:33:32 EDT
Looks good. Patch applied. Thanks, Bryan.
Comment 3 Doug Schaefer CLA 2007-05-13 20:35:31 EDT
Setting to milestone 4.0 so we can generate a report of all bugs fixed in 4.0.
Comment 4 Doug Schaefer CLA 2008-06-03 14:50:38 EDT
assigning
Comment 5 Doug Schaefer CLA 2008-06-03 14:50:56 EDT
done