]> granicus.if.org Git - clang/commit
[libclang] Have clang_getCursorExtent() return the range of the main file when
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 19 Mar 2012 23:17:58 +0000 (23:17 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 19 Mar 2012 23:17:58 +0000 (23:17 +0000)
commit0822c5f29d91a08697416b0d0be28dd3e71d945a
treea65db24771e2f821a97447cac39d1429d130ad8c
parent4bcf3d0e3d07771839bb71edb8b64fa206a7909e
[libclang] Have clang_getCursorExtent() return the range of the main file when
the passed cursor is the translation unit cursor.

Patch by Clint Caywood!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153062 91177308-0d34-0410-b5e6-96231b3b80d8
tools/libclang/CIndex.cpp