Community
Participate
Working Groups
Eclipse IDE for C/C++ Developers Reproducing the bug: Consider the following code: ======== Original Version ======== #define Id_0 #define Id_1 int func_0(int LocalVar_1) { float LocalVar_0 = 10; return LocalVar_1; } void Function_0 ( int LocalVar_1){ } After applying the refactoring, we have the resulting code: #define Id_0 #define Id_1 static const int Id_0 = 10; int func_0(int LocalVar_1) { float LocalVar_0 = Id_0; return LocalVar_1; } void Function_0 ( int LocalVar_1){ }