diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-11-06 21:21:49 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-11-06 21:21:49 +0000 |
| commit | 1c4db8d18c07bb442c5914579aa01db463dd1347 (patch) | |
| tree | ff2b9af3c4b9370a946cee844bc77bf107ea6fab /clang | |
| parent | f036ca466e72be59530679068ac8f817c3b1dbe5 (diff) | |
| download | bcm5719-llvm-1c4db8d18c07bb442c5914579aa01db463dd1347.tar.gz bcm5719-llvm-1c4db8d18c07bb442c5914579aa01db463dd1347.zip | |
[libclang] Add some comments about the version constants for the libclang API.
llvm-svn: 167489
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang-c/Index.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 2b52c0c89c1..aa3403cc80c 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -23,6 +23,14 @@ #include "clang-c/Platform.h" #include "clang-c/CXString.h" +/** + * \brief The version constants for the libclang API. + * CINDEX_VERSION_MINOR should increase when there are API additions. + * CINDEX_VERSION_MAJOR is intended for "major" source/ABI breaking changes. + * + * The policy about the libclang API was always to keep it source and ABI + * compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable. + */ #define CINDEX_VERSION_MAJOR 0 #define CINDEX_VERSION_MINOR 6 |

