]> granicus.if.org Git - clang/commit
When code-completing a potential call to a C++ non-static member
authorDouglas Gregor <dgregor@apple.com>
Thu, 26 Aug 2010 16:36:48 +0000 (16:36 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 26 Aug 2010 16:36:48 +0000 (16:36 +0000)
commit3cdee121daa13403335094ce0e181b9911c2124c
treea213eb6e954d25d26d8087d2ed9e843d877855a4
parent38a4ffe5244e6be46f1b1f8394342a77836be776
When code-completing a potential call to a C++ non-static member
function, take into account the qualifiers on the object argument
(e.g., what will become "this"), filtering around uncallable member
functions and giving a slight priority boost to those with
exactly-matching qualifiers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112193 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
include/clang/AST/Type.h
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-memfunc-cvquals.cpp [new file with mode: 0644]