In the LLVM case you can see that PGO overrides the inline hint. And if you’re not using PGO you don’t care about performance that much anyway.
The best way to find out if your function was inlined is to build it as if for release and then disassemble and read it.