Report accessor errors (such as wrong number of parameters) using Clang diagnostics.

--HG--
branch : clangtypes