summaryrefslogtreecommitdiffstats
path: root/test/Index/complete-memfunc-cvquals.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tweak code-completion result priorities, so that exact and similarDouglas Gregor2010-10-191-20/+20
| | | | | | | | | | 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
* Get rid of the lame attempt to prioritize "void" functions atDouglas Gregor2010-09-201-8/+8
| | | | | | | | statement context; it really isn't helpful in practice (remember printf!) and we'll be doing other adjustments for statements very soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114358 91177308-0d34-0410-b5e6-96231b3b80d8
* Synchronize code-completion cursor kinds with indexing cursorDouglas Gregor2010-09-031-16/+16
| | | | | | | kinds. How shameful that this code was duplicated! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113033 91177308-0d34-0410-b5e6-96231b3b80d8
* Suggest "const" and "volatile" code completions after a functionDouglas Gregor2010-08-271-0/+8
| | | | | | | declarator, the very definition of "low-hanging fruit". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112274 91177308-0d34-0410-b5e6-96231b3b80d8
* When code-completing a potential call to a C++ non-static memberDouglas Gregor2010-08-261-0/+78
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