summaryrefslogtreecommitdiffstats
path: root/clang/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
commit9b9f7a9f7a44d2726abbf88d10bcfe49891b74fd (patch)
tree0d338cf145d5a715f4420e690dbe1ace921a91b1 /clang/include/clang-c
parent25cb0ff3d851537fd3eb4e725bace7dbb2a69678 (diff)
downloadbcm5719-llvm-9b9f7a9f7a44d2726abbf88d10bcfe49891b74fd.tar.gz
bcm5719-llvm-9b9f7a9f7a44d2726abbf88d10bcfe49891b74fd.zip
[libclang] Indexing API: Provide the protocols list for objc categories as well.
rdar://10573361 llvm-svn: 146498
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 8b0aed17a63..9da6b2370f7 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/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;
OpenPOWER on IntegriCloud