Bug 199598 - [content assist] enumeration missing from proposals in qualified name
Summary: [content assist] enumeration missing from proposals in qualified name
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 5.0   Edit
Assignee: Anton Leherbauer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-08-10 11:59 EDT by Andrew Ferguson CLA
Modified: 2008-06-22 03:18 EDT (History)
0 users

See Also:


Attachments
patch (2.47 KB, patch)
2008-01-10 16:21 EST, Ed Swartz 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 Andrew Ferguson CLA 2007-08-10 11:59:25 EDT
if you have 

===
class Test {
public:
	class A {};
	enum TestEnum {
		e1, e2
	};
};

void bar() {
	Test::X
}
===

and invoke content assist at X, then the proposals are "A,e1,e2" but TestEnum is missing
Comment 1 Ed Swartz CLA 2008-01-10 16:21:31 EST
Created attachment 86614 [details]
patch

This patch addresses this case.
Comment 2 Anton Leherbauer CLA 2008-01-11 04:22:19 EST
Thanks for the patch. I'll apply.
Comment 3 Anton Leherbauer CLA 2008-01-11 05:32:44 EST
Committed to HEAD with minor modifications.
I had to tweak the testcase ContentAssistTests.testBug72824() a little to take into account the additional proposal for the enum.