Community
Participate
Working Groups
Eclipse IDE for C/C++ Developers Version: Kepler Service Release 1 Build id: 20130919-0819 Reproducing the bug: Consider the following code: ======== Original Version ======== float GlobalVar_0 = 0; float func_0() { float LocalVar_0 = 100; return GlobalVar_0; } float Function_0() { float LocalVar_0 = 1; return GlobalVar_0; } ================================== Now, let's rename the function "func_0" to "0" Applying the refactoring: ========== Refactored ============ float GlobalVar_0 = 0; float 0() { float LocalVar_0 = 100; return GlobalVar_0; } float Function_0() { float LocalVar_0 = 1; return GlobalVar_0; } ================================= The tool shouldn't allow to apply invalid transformations like this. Notice that now the program has s compilation error. It would be good if it was possible to prevent incorrect renames at least by checking if new function has a valid name. Thanks in advance.