]> granicus.if.org Git - clang/commit
Teach clang_getCursorSemanticParent() and
authorDouglas Gregor <dgregor@apple.com>
Tue, 21 Dec 2010 07:55:45 +0000 (07:55 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 21 Dec 2010 07:55:45 +0000 (07:55 +0000)
commit3910cfd17fcd99ac80158e625fc63e4784d26435
treee10b62355d12ac5f6b960c629b5d07b229ceb094
parent6fb0729241ab204e9bed9a5ff2f5bd396db111d4
Teach clang_getCursorSemanticParent() and
clang_getCursorLexicalParent() to cope with class and function
templates, along with the parent of the translation unit. Fixes PR8761
and PR8766.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122324 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
tools/libclang/CIndex.cpp