| Summary: | renaming a function doesn't change that function's name in a macro definition | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Matt Hargett <matt> | ||||||
| Component: | cdt-refactoring | Assignee: | Project Inbox <cdt-refactoring-inbox> | ||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | Sergey Prigogin <eclipse.sprigogin> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, Jesse.Weinstein, malaperle, yevshif | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Matt Hargett
Created attachment 184908 [details]
tarball of the source tree that reprocued this bug, from the open source project "cgreen"
Created attachment 230050 [details]
Minimal project to verify the problem
On eclipse-SDK-4.3M5a-win32-x86_64
With this minimal test case:
#define test(a,b) foo(#a, b)
void foo(const char *s,int b) {}
Running the Rename refactoring from the dialog box, with the "Macro definitions" checkbox checked, it works (i.e. I am unable to reproduce the bug).
I suggest this be closed as FIXED (or WORKSFORME).
Matt, please reopen if you can reproduce the problem with "Macro definitions" checkbox checked. |