aboutsummaryrefslogtreecommitdiff
path: root/test/CodeCompletion/operator.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-13 23:24:38 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-13 23:24:38 +0000
commitab0b4f1d66de54b4c3102b96d56964510361ba7d (patch)
tree60d687f855f2cf67dc371ebdade2b1315330ceff /test/CodeCompletion/operator.cpp
parentcefd3ada97faf5a759dac4705900053d3aa071e9 (diff)
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 :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/operator.cpp')
-rw-r--r--test/CodeCompletion/operator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeCompletion/operator.cpp b/test/CodeCompletion/operator.cpp
index eef7fbd17b..05cd7684ad 100644
--- a/test/CodeCompletion/operator.cpp
+++ b/test/CodeCompletion/operator.cpp
@@ -9,9 +9,9 @@ void f() {
operator
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CC1 %s
- // CHECK-CC1: Float : 0
- // CHECK-CC1: + : 0
- // CHECK-CC1: short : 0
- // CHECK-CC1: Integer : 2
- // CHECK-CC1: T : 2
- // CHECK-CC1: N : 6
+ // CHECK-CC1: +
+ // CHECK-CC1: Float
+ // CHECK-CC1: Integer
+ // CHECK-CC1: N
+ // CHECK-CC1: short
+ // CHECK-CC1: T