### auto_inline

Controls which functions to inline.

##### Syntax

#pragma auto_inline on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, the compiler automatically chooses functions to inline for you, in addition to functions declared “inline”.
Note that if you enable either the Don’t Inline setting (“Inlining”) or the dont_inline pragma (“dont_inline”), the compiler ignores the setting of the auto_inline pragma and does not inline any functions.

This pragma corresponds to the Auto-Inline setting. To check this setting, use __option (auto_inline), described in Checking Settings. The default setting is off.

See also "Iinlining".