]> granicus.if.org Git - clang/commit
Tweak the code-completion results ranking and formation, so that
authorDouglas Gregor <dgregor@apple.com>
Tue, 22 Sep 2009 23:15:58 +0000 (23:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 22 Sep 2009 23:15:58 +0000 (23:15 +0000)
commit0563c2677cfc20c9450342ddc53aa96971671c71
treee138bc16b594890110ace09d87ee7c53870c8178
parent16d81b8db39593b5f1a38b077757272a09c12da8
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82586 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/CodeCompleteConsumer.cpp
lib/Sema/SemaCodeComplete.cpp
test/CodeCompletion/member-access.cpp
test/CodeCompletion/namespace-alias.cpp
test/CodeCompletion/operator.cpp
test/CodeCompletion/tag.cpp
test/CodeCompletion/using-namespace.cpp
test/CodeCompletion/using.cpp