summaryrefslogtreecommitdiffstats
path: root/test/Index/targeted-preamble.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-03 02:20:32 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-03 02:20:32 +0000
commitdfb332d0081c6641d1dbae6a2aeff757c99cc740 (patch)
tree6c7b45c894999ae07bb0f5892a281882f42892e3 /test/Index/targeted-preamble.h
parentdcaca015a2f08e03a6d86222fec2e83e04f6b848 (diff)
[libclang] Add infrastructure to be able to only deserialize decls in a file region and
use it for clang_getCursor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/targeted-preamble.h')
-rw-r--r--test/Index/targeted-preamble.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Index/targeted-preamble.h b/test/Index/targeted-preamble.h
new file mode 100644
index 0000000000..19b953933f
--- /dev/null
+++ b/test/Index/targeted-preamble.h
@@ -0,0 +1,2 @@
+
+extern int PreambleVar;