The noinline function attribute

The noinline function attribute prevents the function to which it is applied from being inlined, regardless of whether the function is declared inline or non-inline. The attribute takes precedence over inlining compiler options, the inline keyword, and the always_inline function attribute.

Read syntax diagramSkip visual syntax diagramnoinline function attribute syntax

Other than preventing inlining, the attribute does not remove the semantics of inline functions.

Related information