Bug 184083 - [Templates] class instances/specializations missing base classes
Summary: [Templates] class instances/specializations missing base classes
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0   Edit
Assignee: Doug Schaefer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-04-25 14:28 EDT by Bryan Wilkinson CLA
Modified: 2008-06-20 10:00 EDT (History)
1 user (show)

See Also:


Attachments
proposed patch (17.08 KB, patch)
2007-04-25 14:31 EDT, Bryan Wilkinson CLA
bjorn.freeman-benson: iplog+
Details | Diff

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