diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-01-13 23:24:38 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-01-13 23:24:38 +0000 |
| commit | 52ce62f06964d4212f31a01551b8106794b4cc7e (patch) | |
| tree | 69a230c7fa6cdcbe791db92ff878cac9a0b53d43 /clang/test/CodeCompletion/enum-switch-case.c | |
| parent | ad7a5b07a794744e5c29211ea5a7eb97585854e2 (diff) | |
| download | bcm5719-llvm-52ce62f06964d4212f31a01551b8106794b4cc7e.tar.gz bcm5719-llvm-52ce62f06964d4212f31a01551b8106794b4cc7e.zip | |
Improve the sorting of code-completion results. We now always sort by
the "typed" text, first, then take into account
nested-name-specifiers, name hiding, etc. This means that the
resulting sort is actually alphabetical :)
llvm-svn: 93370
Diffstat (limited to 'clang/test/CodeCompletion/enum-switch-case.c')
| -rw-r--r-- | clang/test/CodeCompletion/enum-switch-case.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeCompletion/enum-switch-case.c b/clang/test/CodeCompletion/enum-switch-case.c index 1a7c58fc1e2..082072600ff 100644 --- a/clang/test/CodeCompletion/enum-switch-case.c +++ b/clang/test/CodeCompletion/enum-switch-case.c @@ -20,9 +20,9 @@ void test(enum Color color) { break; // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CC1 %s - // CHECK-CC1: Blue : 0 - // CHECK-CC1-NEXT: Green : 0 - // CHECK-CC1-NEXT: Indigo : 0 - // CHECK-CC1-NEXT: Orange : 0 - // CHECK-CC1-NEXT: Violet : 0 + // CHECK-CC1: Blue + // CHECK-CC1-NEXT: Green + // CHECK-CC1-NEXT: Indigo + // CHECK-CC1-NEXT: Orange + // CHECK-CC1-NEXT: Violet |

