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/truncation.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/truncation.c')
-rw-r--r-- | clang/test/CodeCompletion/truncation.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeCompletion/truncation.c b/clang/test/CodeCompletion/truncation.c index c7706354183..134139d78bd 100644 --- a/clang/test/CodeCompletion/truncation.c +++ b/clang/test/CodeCompletion/truncation.c @@ -3,9 +3,9 @@ struct // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CC1 %s -// CHECK-CC1: X : 1 -// CHECK-CC1-NEXT: Y : 1 +// CHECK-CC1: X +// CHECK-CC1-NEXT: Y // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:3:8 -o - %s | FileCheck -check-prefix=CC2 %s -// CHECK-CC2: X : 1 -// CHECK-CC2: Xa : 1 -// CHECK-CC2: Y : 1 +// CHECK-CC2: X +// CHECK-CC2: Xa +// CHECK-CC2: Y |