Technically, you could have some stronger keyword than inline in future C and C++ standards, akin to constexpr. For hard inlining always.
For now, there are macros if an inline function does not work properly. Attributes to force inlining exist in some compilers, at least GCC and clang support those.
Additionally marking the function as pure if applicable can help optimisers as well.