summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-declarators.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-24 23:40:45 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-24 23:40:45 +0000
commit45140a90409616550ac6f013594372bbd8267330 (patch)
treeb7d82239f6f41638079f33ad31a7e9b4f83fa4ea /clang/test/Index/complete-declarators.cpp
parent7d46051eea78f39352b5fa2de3a5700e0384e447 (diff)
downloadbcm5719-llvm-45140a90409616550ac6f013594372bbd8267330.tar.gz
bcm5719-llvm-45140a90409616550ac6f013594372bbd8267330.zip
In code-completion contexts where both types and other values are
present, prefer values to types, since it's more common to compute with values than it is to declare new entities or perform type casts. So, tweak the ranking of types vs. other declarations and constants accordingly. llvm-svn: 111998
Diffstat (limited to 'clang/test/Index/complete-declarators.cpp')
-rw-r--r--clang/test/Index/complete-declarators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/complete-declarators.cpp b/clang/test/Index/complete-declarators.cpp
index ba16e22ec1f..61d77658923 100644
--- a/clang/test/Index/complete-declarators.cpp
+++ b/clang/test/Index/complete-declarators.cpp
@@ -34,6 +34,6 @@ struct Z {
// CHECK-CC4: NotImplemented:{TypedText N}{Text ::} (75)
// CHECK-CC4: NotImplemented:{TypedText operator} (30)
// CHECK-CC4: NotImplemented:{TypedText volatile} (30)
-// CHECK-CC4: StructDecl:{TypedText Y} (40)
+// CHECK-CC4: StructDecl:{TypedText Y} (65)
// CHECK-CC4: StructDecl:{TypedText Z} (20)
OpenPOWER on IntegriCloud