]> granicus.if.org Git - clang/commit
[libclang] Unify getCursorDecl and getCursorParentDecl
authorFangrui Song <maskray@google.com>
Tue, 20 Nov 2018 08:00:00 +0000 (08:00 +0000)
committerFangrui Song <maskray@google.com>
Tue, 20 Nov 2018 08:00:00 +0000 (08:00 +0000)
commit9b9f33d2fa56d4637b1da517d34f65e512c578b1
tree35ad16a8e75c31ac651324400e7d5ac0d0f36f96
parent6cbb68cec62ea09bd647263006dfae1c9d5b5587
[libclang] Unify getCursorDecl and getCursorParentDecl

They do the same thing, thus the latter (which has only 2 call sites) can be deleted.

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