diff options
Diffstat (limited to 'include/clang-c/Index.h')
-rw-r--r-- | include/clang-c/Index.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 299fa8f98b..2b52c0c89c 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -24,7 +24,7 @@ #include "clang-c/CXString.h" #define CINDEX_VERSION_MAJOR 0 -#define CINDEX_VERSION_MINOR 5 +#define CINDEX_VERSION_MINOR 6 #define CINDEX_VERSION_ENCODE(major, minor) ( \ ((major) * 10000) \ @@ -3197,6 +3197,12 @@ CINDEX_LINKAGE int clang_Cursor_getObjCSelectorIndex(CXCursor); CINDEX_LINKAGE int clang_Cursor_isDynamicCall(CXCursor C); /** + * \brief Given a cursor pointing to an ObjC message, returns the CXType of the + * receiver. + */ +CINDEX_LINKAGE CXType clang_Cursor_getReceiverType(CXCursor C); + +/** * \brief Given a cursor that represents a declaration, return the associated * comment's source range. The range may include multiple consecutive comments * with whitespace in between. |