diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-10-08 20:39:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-10-08 20:39:29 +0000 |
commit | 5a9c0bca4504eeda45a3fd0ae1c244b2994f38b2 (patch) | |
tree | b8183382037c3d57c3f4b632aaaa351aab161295 /tools/c-index-test/c-index-test.c | |
parent | db45871a17106c33fb91ab7992b4e3badaa45194 (diff) |
Fix the mapping of vertical-space cursor kinds to produce a newline,
rather than a space.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r-- | tools/c-index-test/c-index-test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index 9c5a67d304..ca4b1e3169 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -939,6 +939,11 @@ void print_completion_string(CXCompletionString completion_string, FILE *file) { file); fprintf(file, "}"); continue; + } + + if (Kind == CXCompletionChunk_VerticalSpace) { + fprintf(file, "{VerticalSpace }"); + continue; } text = clang_getCompletionChunkText(completion_string, I); |