Check syntax errors returned by libclang