
Check that the function has at least one parameter before trying to access its type. Fixes https://github.com/llvm/llvm-project/issues/148770.
Check that the function has at least one parameter before trying to access its type. Fixes https://github.com/llvm/llvm-project/issues/148770.