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 | be1340d2b90c0016d232d327098caf9a9c3b40bd (patch) | |
tree | bf668bc203e192b30550348a84be41664dcae241 /include/clang-c | |
parent | 698885113770ae8b407170a211719dc6638c6c1b (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 5541322ae8..5aebf0973f 100644 --- a/include/clang-c/Index.h +++ b/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, |