diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-06-03 23:08:58 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-06-03 23:08:58 +0000 |
commit | 352697a87bca664356f21a838b162084013625ea (patch) | |
tree | 5d73532d136963aa54fe9180388f7762d3d7ccce /include/clang-c | |
parent | 0ccb31c389a09216a5b60cf05bd01516ddbe8d4f (diff) |
Expose @synthesize and @dynamic via their own cursor kinds in
libclang. Fixes <rdar://problem/9537904>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index c79475eff4..cb0b3c1bab 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -1187,8 +1187,12 @@ enum CXCursorKind { CXCursor_UsingDeclaration = 35, /** \brief A C++ alias declaration */ CXCursor_TypeAliasDecl = 36, + /** \brief An Objective-C @synthesize definition. */ + CXCursor_ObjCSynthesizeDecl = 37, + /** \brief An Objective-C @dynamic definition. */ + CXCursor_ObjCDynamicDecl = 38, CXCursor_FirstDecl = CXCursor_UnexposedDecl, - CXCursor_LastDecl = CXCursor_TypeAliasDecl, + CXCursor_LastDecl = CXCursor_ObjCDynamicDecl, /* References */ CXCursor_FirstRef = 40, /* Decl references */ |