handle libclang parsing exception