CLion 2017.3 Help

Inline Function

Refactor | Inline

Inline Function refactoring results in placing function's body into the body of its caller(s). You can opt to:

  • inline all occurrences of the function, and delete the function
  • inline only a single occurrence, and retain the function

Inline all invocations and remove the functionSelect this radio button to replace all the method calls with its code and remove the function.
Inline this invocation only and keep the functionUse this option to replace only the current function call.
Last modified: 27 March 2018

See Also


External Links: