diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-12-10 18:45:18 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-12-10 18:45:18 +0000 |
commit | 8aa0b80ec71e839c236f83e8943cf87264d97fb1 (patch) | |
tree | eb3975f13b26994c1db8df28ac125fd3c3fdd489 /clang/include/clang-c | |
parent | a8547d35e95a73a66ad718d9f76034b2c878e6ca (diff) | |
download | bcm5719-llvm-8aa0b80ec71e839c236f83e8943cf87264d97fb1.tar.gz bcm5719-llvm-8aa0b80ec71e839c236f83e8943cf87264d97fb1.zip |
libclang: expose dllexport, dllimport attributes
These attributes were previously unexposed. Expose them through the libclang
interfaces. Add tests that cover both the MSVC spelling and the GNU spelling.
llvm-svn: 255273
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r-- | clang/include/clang-c/Index.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 5541322ae8b..5aebf0973f5 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -32,7 +32,7 @@ * compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable. */ #define CINDEX_VERSION_MAJOR 0 -#define CINDEX_VERSION_MINOR 31 +#define CINDEX_VERSION_MINOR 32 #define CINDEX_VERSION_ENCODE(major, minor) ( \ ((major) * 10000) \ @@ -2297,7 +2297,9 @@ enum CXCursorKind { CXCursor_CUDAHostAttr = 415, CXCursor_CUDASharedAttr = 416, CXCursor_VisibilityAttr = 417, - CXCursor_LastAttr = CXCursor_VisibilityAttr, + CXCursor_DLLExport = 418, + CXCursor_DLLImport = 419, + CXCursor_LastAttr = CXCursor_DLLImport, /* Preprocessing */ CXCursor_PreprocessingDirective = 500, |