[PATCH] Adds a CMake package configuration file for libclang

Jordan Rose jordan_rose at apple.com
Thu Mar 7 09:32:27 PST 2013


On Mar 7, 2013, at 6:42 , Brad King <brad.king at kitware.com> wrote:

> One thing the upstream devs should check is whether the version test
> in libclang-config-version.cmake.in looks correct.  The logic needs to
> match your interface compatibility and versioning policy.  Currently
> it says that versions will be forward and backward compatible across
> all minor versions of the same major version, and that a change in
> major version breaks compatibility.  This is a reasonable policy, but
> this code needs to match your actual policy.

AFAIK libclang is forward-compatible across minor versions, but not backwards (i.e. because new features can be introduced with minor versions). Patch versions should be forwards- and backwards-compatible (modulo bug fixes). Argyrios or Dmitri can confirm, though (cc'd).

Jordan



More information about the cfe-commits mailing list