]> granicus.if.org Git - clang/commit
[libclang] Introduce clang_Cursor_getObjCSelectorIndex() function.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 30 Mar 2012 22:15:48 +0000 (22:15 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 30 Mar 2012 22:15:48 +0000 (22:15 +0000)
commit34ebe1e1b0779bcea2f277bc6b4e9dd98bf70b7b
tree39f0e1a110cba305b8ac3555c7473327af6f21ae
parent50651b951c216573175e2145f32df2c4658ba3f9
[libclang] Introduce clang_Cursor_getObjCSelectorIndex() function.

After getting a cursor with clang_getCursor for a particular source location,
allows querying the cursor in order to find out if the location points to a
selector identifier in an objc method or message expression, and which selector index it is.

rdar://11158946

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153781 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
test/Index/get-cursor.m
tools/c-index-test/c-index-test.c
tools/libclang/CIndex.cpp
tools/libclang/libclang.exports