aboutsummaryrefslogtreecommitdiff
path: root/include/clang-c/Index.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-08-26 01:42:22 +0000
committerTed Kremenek <kremenek@apple.com>2010-08-26 01:42:22 +0000
commit95f33555a6d51b6537a9ed3968c3d1c2e4991b51 (patch)
tree3c81eccf2bf7be2c9a886f9915235871d8727d14 /include/clang-c/Index.h
parent2dc70ad391cb75ea90a2fb5d14a7f1d271534da3 (diff)
Add libclang API hook "clang_getIBOutletCollectionType" to query the collection type for iboutletcollection attributes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c/Index.h')
-rw-r--r--include/clang-c/Index.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index 4dfaec030d..9b80d9f3a5 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -1304,7 +1304,7 @@ CINDEX_LINKAGE CXSourceRange clang_getCursorExtent(CXCursor);
/**
* @}
*/
-
+
/**
* \defgroup CINDEX_TYPES Type information for CXCursors
*
@@ -1441,6 +1441,24 @@ CINDEX_LINKAGE unsigned clang_isPODType(CXType T);
/**
* @}
*/
+
+/**
+ * \defgroup CINDEX_TYPES Information for attributes
+ *
+ * @{
+ */
+
+
+/**
+ * \brief For cursors representing an iboutletcollection attribute,
+ * this function returns the collection element type.
+ *
+ */
+CINDEX_LINKAGE CXType clang_getIBOutletCollectionType(CXCursor);
+
+/**
+ * @}
+ */
/**
* \defgroup CINDEX_CURSOR_TRAVERSAL Traversing the AST with cursors