CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Change signature

Last modified: 11 January 2023

Shortcut for the action: Ctrl+F6

General refactoring settings: Settings | Editor | General

refactoring is available

The Change Signature refactoring combines several different modifications that can be applied to a function signature. You can use this refactoring to:

  • change the function name and return type

  • add, remove, and reorder parameters

When changing a function signature, CLion searches for all usages of the function and updates all the calls, implementations, and override replacements of the function that can be safely modified to reflect the change.