aboutsummaryrefslogtreecommitdiff
path: root/test/Index/complete-driver-errors.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-10-19 00:03:23 +0000
committerDouglas Gregor <dgregor@apple.com>2010-10-19 00:03:23 +0000
commit8ec904c151abf7ed0dc911258574a904ed97ff15 (patch)
treec6e43f6113a2fbd73dc630699ab8eb2fec3db537 /test/Index/complete-driver-errors.c
parent99aaae87ae972ac2dd4cccd8b4886537aabaff43 (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-driver-errors.c')
-rw-r--r--test/Index/complete-driver-errors.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Index/complete-driver-errors.c b/test/Index/complete-driver-errors.c
index 0d2ceb94d4..1918511a18 100644
--- a/test/Index/complete-driver-errors.c
+++ b/test/Index/complete-driver-errors.c
@@ -5,9 +5,9 @@ int
// Test driver errors with code completion
// RUN: c-index-test -code-completion-at=%s:4:1 -std= %s 2> %t | FileCheck -check-prefix=CHECK-RESULTS %s
// RUN: FileCheck -check-prefix=CHECK-DIAGS %s < %t
-// CHECK-RESULTS: NotImplemented:{TypedText const} (30)
-// CHECK-RESULTS: NotImplemented:{TypedText restrict} (30)
-// CHECK-RESULTS: NotImplemented:{TypedText volatile} (30)
+// CHECK-RESULTS: NotImplemented:{TypedText const} (40)
+// CHECK-RESULTS: NotImplemented:{TypedText restrict} (40)
+// CHECK-RESULTS: NotImplemented:{TypedText volatile} (40)
// Test driver errors with parsing
// RUN: c-index-test -test-load-source all -std= %s 2> %t | FileCheck -check-prefix=CHECK-LOAD %s