You copied the Doc URL to your clipboard.


The __inline keyword suggests to the compiler that it compiles a C or C++ function inline, if it is sensible to do so.

__inline can be used in C90 code, and serves as an alternative to the C99 inline keyword.

Both __inline and __inline__ are supported in armclang.


static __inline int f(int x){
    return x*5+1;

int g(int x, int y){
    return f(x) + f(y);