diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-10-19 00:03:23 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-10-19 00:03:23 +0000 |
commit | 8ec904c151abf7ed0dc911258574a904ed97ff15 (patch) | |
tree | c6e43f6113a2fbd73dc630699ab8eb2fec3db537 /test/Index/complete-at-exprstmt.m | |
parent | 99aaae87ae972ac2dd4cccd8b4886537aabaff43 (diff) |
Tweak code-completion result priorities, so that exact and similar
type matches have a bigger impact. The impetus for this change was
that, when initializing an enumeration value, we want enumerators of
that enumeration type to have a higher priority than, e.g., unrelated
local variables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/complete-at-exprstmt.m')
-rw-r--r-- | test/Index/complete-at-exprstmt.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Index/complete-at-exprstmt.m b/test/Index/complete-at-exprstmt.m index 5e42cfcb98..7532bbb14d 100644 --- a/test/Index/complete-at-exprstmt.m +++ b/test/Index/complete-at-exprstmt.m @@ -46,10 +46,10 @@ void f() { // CHECK-CC3: TypedefDecl:{TypedText SEL} // CHECK-CC3: NotImplemented:{ResultType MyClass *}{TypedText self} // RUN: c-index-test -code-completion-at=%s:19:13 %s | FileCheck -check-prefix=CHECK-CC4 %s -// CHECK-CC4: NotImplemented:{TypedText add:to:} (30) -// CHECK-CC4: NotImplemented:{TypedText add:to:plus:} (30) -// CHECK-CC4: NotImplemented:{TypedText myMethod:} (30) +// CHECK-CC4: NotImplemented:{TypedText add:to:} (40) +// CHECK-CC4: NotImplemented:{TypedText add:to:plus:} (40) +// CHECK-CC4: NotImplemented:{TypedText myMethod:} (40) // RUN: c-index-test -code-completion-at=%s:19:17 %s | FileCheck -check-prefix=CHECK-CC5 %s -// CHECK-CC5: NotImplemented:{Informative add:}{TypedText to:} (30) -// CHECK-CC5: NotImplemented:{Informative add:}{TypedText to:plus:} (30) +// CHECK-CC5: NotImplemented:{Informative add:}{TypedText to:} (40) +// CHECK-CC5: NotImplemented:{Informative add:}{TypedText to:plus:} (40) |