adding missing returns

to resolve https://github.com/bscarlet/llvm-general/issues/26