diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-21 19:07:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-21 19:07:48 +0000 |
commit | fd4da713435a470be221ae1b823b3cb8ef518a60 (patch) | |
tree | 03b19de191f68e4c9769fea079d6bb6d8888479e /clang/test/Index/Inputs/get-cursor-includes-1.h | |
parent | 2a7ff9997995a26d33603ac69ceb1ed66d701e5a (diff) | |
download | bcm5719-llvm-fd4da713435a470be221ae1b823b3cb8ef518a60.tar.gz bcm5719-llvm-fd4da713435a470be221ae1b823b3cb8ef518a60.zip |
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>.
llvm-svn: 122350
Diffstat (limited to 'clang/test/Index/Inputs/get-cursor-includes-1.h')
-rw-r--r-- | clang/test/Index/Inputs/get-cursor-includes-1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Index/Inputs/get-cursor-includes-1.h b/clang/test/Index/Inputs/get-cursor-includes-1.h new file mode 100644 index 00000000000..48439d2ae26 --- /dev/null +++ b/clang/test/Index/Inputs/get-cursor-includes-1.h @@ -0,0 +1,6 @@ +#ifndef GET_CURSOR_INCLUDES_1_H +#define GET_CURSOR_INCLUDES_1_H + +extern int blah; + +#endif // GET_CURSOR_INCLUDES_1_H |