| Summary: | Rename does not change using-declarations | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Nathan Ridge <zeratul976> |
| Component: | cdt-refactoring | Assignee: | Sergey Prigogin <eclipse.sprigogin> |
| Status: | RESOLVED FIXED | QA Contact: | Sergey Prigogin <eclipse.sprigogin> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, malaperle, yevshif |
| Version: | 8.0 | ||
| Target Milestone: | 8.1.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed by http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=c7be1163514fee663d90df4ff3b6a37a8c1968fa. *** cdt git genie on behalf of Sergey Prigogin ***
Bug 332895 - Rename does not change using-declarations
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=c7be1163514fee663d90df4ff3b6a37a8c1968fa
|
Given this code: namespace foo { class bar {}; // THIS CHANGES } using foo::bar; // THIS DOES NOT CHANGE void f() { bar b; // THIS CHANGES } if I rename "bar" to "ack", "class bar {};" is changed to "class ack {};", and "bar b;" changes to "ack b;", but "using foo::bar;" remains unchanged (and as a result, the "bar b;" line in f is now an error).