]> granicus.if.org Git - clang/commit
[libclang] Introduce clang_Cursor_getSpellingNameRange().
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 30 Mar 2012 20:58:35 +0000 (20:58 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 30 Mar 2012 20:58:35 +0000 (20:58 +0000)
commitba1da14e79c1ecd49306e5175b69baa1e7ed4293
treefadf008f39453edc380c16ba305c0326579ce99a
parent6c4c36c4ed1007143f5b8655eb68b313a7e12e76
[libclang] Introduce clang_Cursor_getSpellingNameRange().

It retrieves a source range for a piece that forms the cursors spelling name.
Most of the times there is only one range for the complete spelling but for
objc methods and objc message expressions, there are multiple pieces for each
selector identifier.

Part of rdar://11113120

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153775 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