summaryrefslogtreecommitdiffstats
path: root/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-13 18:47:45 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-13 18:47:45 +0000
commitc10a4c8baff3164bee9b7fc293679a5a5a90eb74 (patch)
tree680180423d03f28dd647ececd4ff1a2a672afade /include/clang-c
parente422e45a6a89d450b8eca10f671b49874e87617a (diff)
[libclang] Indexing API: Provide the protocols list for objc categories as well.
rdar://10573361 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r--include/clang-c/Index.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index 8b0aed17a6..9da6b2370f 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -4239,13 +4239,6 @@ typedef struct {
} CXIdxObjCContainerDeclInfo;
typedef struct {
- const CXIdxObjCContainerDeclInfo *containerInfo;
- const CXIdxEntityInfo *objcClass;
- CXCursor classCursor;
- CXIdxLoc classLoc;
-} CXIdxObjCCategoryDeclInfo;
-
-typedef struct {
const CXIdxEntityInfo *base;
CXCursor cursor;
CXIdxLoc loc;
@@ -4269,6 +4262,14 @@ typedef struct {
} CXIdxObjCInterfaceDeclInfo;
typedef struct {
+ const CXIdxObjCContainerDeclInfo *containerInfo;
+ const CXIdxEntityInfo *objcClass;
+ CXCursor classCursor;
+ CXIdxLoc classLoc;
+ const CXIdxObjCProtocolRefListInfo *protocols;
+} CXIdxObjCCategoryDeclInfo;
+
+typedef struct {
const CXIdxDeclInfo *declInfo;
const CXIdxBaseClassInfo *const *bases;
unsigned numBases;