clang: add missing argument, throw error

1) missing `self` from parameters
2) throw the error instead of returning an unknown 0. Make untested
code get implemented when someone wants to use it rather than silently
doing the wrong thing.