Rename

To make identifier names more meaningful, rename a variable or function. You can rename:

  • local variables
  • function parameters
  • static functions and variables

The new name is checked against existing code to prevent hiding names of existing variables, functions, types, or namespaces, as well as naming conflicts.

Example

int boo(int b) { 
}
int bar(int (*func)(char*)) { 		 
    return 1; 
} 
void foo(int a) { 
    int i = 2;
    i = 3;
    a = 567;
    a = boo(a); 
}

In the above snippet, b, func, a and i can all be renamed as specified.