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
Showing
- test/Index/Inputs/get-cursor-includes-1.h 6 additions, 0 deletionstest/Index/Inputs/get-cursor-includes-1.h
- test/Index/Inputs/get-cursor-includes-2.h 2 additions, 0 deletionstest/Index/Inputs/get-cursor-includes-2.h
- test/Index/get-cursor-includes.c 7 additions, 0 deletionstest/Index/get-cursor-includes.c
- tools/libclang/CIndex.cpp 14 additions, 1 deletiontools/libclang/CIndex.cpp
Loading
Please register or sign in to comment