]> granicus.if.org Git - clang/commit
clang_getCursorLexicalParent should return a translation unit cursor for declarations...
authorDouglas Gregor <dgregor@apple.com>
Mon, 30 Apr 2012 23:41:16 +0000 (23:41 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 30 Apr 2012 23:41:16 +0000 (23:41 +0000)
commit8e5900c8e9bd32bcc385124f564f3d38a11d0e28
treebc9b03b6520705abb70b9a62b87239141c027d2b
parentaa5498649c7ad1b61e5da2497e8c60c924ac5e55
clang_getCursorLexicalParent should return a translation unit cursor for declarations at the global scope, from Evan P. Fixes PR9083.

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