commit | 3910cfd17fcd99ac80158e625fc63e4784d26435 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Dec 21 07:55:45 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Dec 21 07:55:45 2010 +0000 |
tree | e10b62355d12ac5f6b960c629b5d07b229ceb094 | |
parent | 6fb0729241ab204e9bed9a5ff2f5bd396db111d4 [diff] |
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