diff options
author | Erik Verbruggen <erikjv@me.com> | 2011-10-06 12:11:57 +0000 |
---|---|---|
committer | Erik Verbruggen <erikjv@me.com> | 2011-10-06 12:11:57 +0000 |
commit | 733dbc805facad7cebec5420f6c47c83848cee5f (patch) | |
tree | b92ca28ad96a45f00327be54f6aa77530b8d95ac | |
parent | 26fc0f9a078b1a9120547b36804f97c626817bdf (diff) |
[libclang] Fix symbol export for clang_Range_isNull so MSVC won't complain.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141282 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang-c/Index.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index ea4261fe20..3df1670f10 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -343,7 +343,7 @@ CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1, /** * \brief Returns non-zero if \arg range is null. */ -int clang_Range_isNull(CXSourceRange range); +CINDEX_LINKAGE int clang_Range_isNull(CXSourceRange range); /** * \brief Retrieve the file, line, column, and offset represented by @@ -1830,7 +1830,8 @@ enum CXCursorKind { CXCursor_IBOutletCollectionAttr = 403, CXCursor_CXXFinalAttr = 404, CXCursor_CXXOverrideAttr = 405, - CXCursor_LastAttr = CXCursor_CXXOverrideAttr, + CXCursor_AnnotateAttr = 406, + CXCursor_LastAttr = CXCursor_AnnotateAttr, /* Preprocessing */ CXCursor_PreprocessingDirective = 500, |