Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332895 - Rename does not change using-declarations
Summary: Rename does not change using-declarations
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.1.0   Edit
Assignee: Sergey Prigogin CLA
QA Contact: Sergey Prigogin CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-18 17:57 EST by Nathan Ridge CLA
Modified: 2013-02-27 11:40 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Ridge CLA 2010-12-18 17:57:07 EST
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).
Comment 2 CDT Genie CLA 2013-02-27 11:40:37 EST
*** 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