[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
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index ea4261f..3df1670 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -343,7 +343,7 @@
/**
* \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 @@
CXCursor_IBOutletCollectionAttr = 403,
CXCursor_CXXFinalAttr = 404,
CXCursor_CXXOverrideAttr = 405,
- CXCursor_LastAttr = CXCursor_CXXOverrideAttr,
+ CXCursor_AnnotateAttr = 406,
+ CXCursor_LastAttr = CXCursor_AnnotateAttr,
/* Preprocessing */
CXCursor_PreprocessingDirective = 500,