CLion 2017.1 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

ItemDescription
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.

See Also

Procedures:

External Links:

Last modified: 19 July 2017