Move storage class determination to FunctionDecl instead of output