Summary: | CPPClassType returns duplicate nested classes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] CDT | Reporter: | Bryan Wilkinson <bryan2233> | ||||
Component: | cdt-core | Assignee: | Doug Schaefer <cdtdoug> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | Keywords: | contributed | ||||
Version: | 4.0 | ||||||
Target Milestone: | 4.0 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Bryan Wilkinson
2007-02-12 10:22:06 EST
Created attachment 58775 [details]
proposed patch
Fixes CPPClassType.getNestedClasses()
A variable was not being set back to null after each iteration of a loop going through each of the declarations within the class.
It is wild how many day one bugs you're finding. Thanks! Patch applied. Feel free to contribute JUnit tests as well ;). I have written one for this bug in CompleteParser2Tests. |