You can try to use it this way:
FORCEINLINE void SomeFunction() { };
UFUNCTION() void SomeFunction_implementation(); // cpp realisation
You can try to use it this way:
FORCEINLINE void SomeFunction() { };
UFUNCTION() void SomeFunction_implementation(); // cpp realisation