diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-19 21:46:24 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-19 21:46:24 +0000 |
commit | abc563f554951259bbe0315055cad92ee14d87e4 (patch) | |
tree | 6cbc8328342f3a64717e7652f10cd00def0c4fb1 /test | |
parent | a7765a6857a138d1402834ea01e13e397bc3610f (diff) |
Introduce a new libclang API, clang_reparseTranslationUnit(), which
reparses an already-parsed translation unit. At the moment it's just a
convenience function, but we hope to use it for performance
optimizations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Index/cindex-from-source.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Index/cindex-from-source.m b/test/Index/cindex-from-source.m index 86e794db89..f226e45335 100644 --- a/test/Index/cindex-from-source.m +++ b/test/Index/cindex-from-source.m @@ -7,3 +7,6 @@ // CHECK: cindex-from-source.m:9:1: TypeRef=t0:1:13 Extent=[9:1 - 9:3] struct s0 {}; t0 g0; + +// RUN: c-index-test -test-load-source-reparse 5 local %s -include %t.pfx.h > %t +// RUN: FileCheck %s < %t |