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/using-namespace.cpp | |
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/using-namespace.cpp')
-rw-r--r-- | clang/test/CodeCompletion/using-namespace.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeCompletion/using-namespace.cpp b/clang/test/CodeCompletion/using-namespace.cpp index f8f31d8c1a0..eb1c2bd50e6 100644 --- a/clang/test/CodeCompletion/using-namespace.cpp +++ b/clang/test/CodeCompletion/using-namespace.cpp @@ -13,8 +13,8 @@ namespace N2 { void foo() { using namespace // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CC1 %s - // CHECK-CC1: I1 : 2 - // CHECK-CC1: I4 : 2 - // CHECK-CC1: I5 : 2 - // CHECK-CC1: N2 : 4 - // CHECK-CC1-NEXT: N4 : 4 + // CHECK-CC1: I1 + // CHECK-CC1: I4 + // CHECK-CC1: I5 + // CHECK-CC1: N2 + // CHECK-CC1-NEXT: N4 |