|Non-Confidential||PDF version||ARM DUI0472M|
|Home > Compiler Command-line Options > --forceinline|
Forces all inline functions to be treated as if they are qualified with
Inline functions are functions that are qualified with
__inline. In C++, inline functions are functions that are defined inside
a struct, class, or union definition.
If you use
--forceinline, the compiler
always attempts to inline those functions, if possible. However, it does not inline a
function if doing so causes problems. For example, a recursive function is never inlined
__forceinline behaves like
__inline except that the
compiler tries harder to do the inlining.