| Summary: | Code assistance fails when printing argument list for a call to a base class constructor in a derived classes constructor (C++) | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | ivstalin |
| Component: | cdt-parser | Assignee: | Markus Schorn <mschorn.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Anton Leherbauer <aleherb+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, daniel_megert |
| Version: | 8.0 | ||
| Target Milestone: | 8.0.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Thanks, I can reproduce the problem. I am pretty sure that it is a parser issue. Added testcase, fixed in CDT 8.0.1 > 20110705. |
Code assistance fails when printing argument list for a call to a base class constructor in a derived classes constructor (C++): For example, if I press ctrl+space to complete the parameters for the QWidget() constructor in the following method, I get 'no proposals'. LineGraphWidget::LineGraphWidget(QWidget* parent, const int width, const int height, const int gridInterval) : QWidget(parent) <<<< press ctrl+space in argument list here ...however, if I prefix the QWidget() call with the global scope operator, it works correctly: LineGraphWidget::LineGraphWidget(QWidget* parent, const int width, const int height, const int gridInterval) : ::QWidget(parent) -- Configuration Details -- Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.linuxtools.product) Installed Features: org.eclipse.platform 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f