]> granicus.if.org Git - clang/commit
Teach c-index-test to reparse the source file a few times when testing
authorDouglas Gregor <dgregor@apple.com>
Tue, 30 Nov 2010 05:52:55 +0000 (05:52 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 30 Nov 2010 05:52:55 +0000 (05:52 +0000)
commit8e08dec6374473b11c019035aef130e0bb0551f9
tree29bb76ead2fe201f15a29d2d53b9c536b39530fa
parent414cb64f09ce48a36377458ce5e5a90c3ad41d00
Teach c-index-test to reparse the source file a few times when testing
clang_getCursor() via -cursor-at=??? and CINDEXTEST_EDITING is set in
the environment. This mirrors how we test code completion and
source-loading in the presence of this environment variable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120392 91177308-0d34-0410-b5e6-96231b3b80d8
tools/c-index-test/c-index-test.c