Tweak the code-completion results ranking and formation, so that

members found in base classes have the same ranking as members found
in derived classes. However, we will introduce an informative note for
members found in base classes, showing (as a nested-name-specifier)
the qualification to name the base class, to make it clear which
members are from bases.
 

llvm-svn: 82586
This commit is contained in:
Douglas Gregor
2009-09-22 23:15:58 +00:00
parent cc52f65500
commit 5bf52697b0
9 changed files with 124 additions and 74 deletions

View File

@@ -16,6 +16,6 @@ namespace N2 {
// CHECK-CC1: I1 : 2
// CHECK-CC1: I4 : 2
// CHECK-CC1: I5 : 2
// CHECK-CC1: N2 : 3
// CHECK-NEXT-CC1: N4 : 3
// CHECK-CC1: N2 : 4
// CHECK-NEXT-CC1: N4 : 4
// RUN: true