Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311941 - Parameter rename does not affect function declaration
Summary: Parameter rename does not affect function declaration
Status: CLOSED DUPLICATE of bug 158938
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 5.0.2   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Emanuel Graf CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 13:48 EDT by Nathan Baker CLA
Modified: 2010-05-10 03:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Baker CLA 2010-05-06 13:48:10 EDT
Build Identifier: 20100218-1602

When I highlight the name of a parameter variable and select the "rename" refactoring action (Shift + Alt + R), the variable is not renamed in the declaration.

Reproducible: Always

Steps to Reproduce:
1. Declare function void foo(int bar, int baz) in foo.h
2. In foo.c which #includes foo.h, implement function foo
3. Select parameter bar and press Shift + Alt + R to rename it
4. Rename bar to new_bar
5. Function declaration in foo.h still has the name 'bar'
Comment 1 Markus Schorn CLA 2010-05-10 03:16:28 EDT

*** This bug has been marked as a duplicate of bug 158938 ***