]> granicus.if.org Git - clang/commit
When determining which preprocessed entities to traverse in libclang,
authorDouglas Gregor <dgregor@apple.com>
Tue, 21 Dec 2010 19:07:48 +0000 (19:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 21 Dec 2010 19:07:48 +0000 (19:07 +0000)
commit32038bb8486a1f31e8bd8e19ef388049669e9ed2
treee1dcb49741a62a51d203767635aad12096b4d75c
parent52e64c88133c6c3153208f216d53112db5c09e8b
When determining which preprocessed entities to traverse in libclang,
take into account the region of interest. Otherwise, we may fail to
traverse some important preprocessed entity cursors.
Fixes <rdar://problem/8554072>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122350 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/Inputs/get-cursor-includes-1.h [new file with mode: 0644]
test/Index/Inputs/get-cursor-includes-2.h [new file with mode: 0644]
test/Index/get-cursor-includes.c [new file with mode: 0644]
tools/libclang/CIndex.cpp