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/objc-message.m | |
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/objc-message.m')
-rw-r--r-- | clang/test/CodeCompletion/objc-message.m | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/CodeCompletion/objc-message.m b/clang/test/CodeCompletion/objc-message.m index a1ae271bbea..a7b111f59ed 100644 --- a/clang/test/CodeCompletion/objc-message.m +++ b/clang/test/CodeCompletion/objc-message.m @@ -24,12 +24,12 @@ void func() { [obj xx]; } // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:19 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s -// CHECK-CC1: categoryClassMethod : 0 -// CHECK-CC1: classMethod1:withKeyword: : 0 -// CHECK-CC1: classMethod2 : 0 -// CHECK-CC1: new : 0 -// CHECK-CC1: protocolClassMethod : 0 +// CHECK-CC1: categoryClassMethod +// CHECK-CC1: classMethod1:withKeyword: +// CHECK-CC1: classMethod2 +// CHECK-CC1: new +// CHECK-CC1: protocolClassMethod // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:24:8 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s -// CHECK-CC2: categoryInstanceMethod : 0 -// CHECK-CC2: instanceMethod1 : 0 -// CHECK-CC2: protocolInstanceMethod : 0 +// CHECK-CC2: categoryInstanceMethod +// CHECK-CC2: instanceMethod1 +// CHECK-CC2: protocolInstanceMethod |