summaryrefslogtreecommitdiff
path: root/test/Index/complete-exprs.cpp
Commit message (Collapse)AuthorAge
* [libclang] Remove the ParentKind cursor kind from code-completion results.Argyrios Kyrtzidis2012-09-26
| | | | | | This is to reduce dependency to cursors for the code-completion results. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164705 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce a new libclang API to determine the parent context of a codeDouglas Gregor2012-03-27
| | | | | | | | | | completion item. For example, if the code completion itself represents a declaration in a namespace (say, std::vector), then this API retrieves the cursor kind and name of the namespace (std). Implements <rdar://problem/11121951>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153545 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak this test to test more directly what we want, and hopefully work ↵Douglas Gregor2011-10-19
| | | | | | around the brokenness of code completion under -fdelayed-template-parsing git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142472 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor tweak to testDouglas Gregor2011-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142427 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide result types for code completions that describe built-inDouglas Gregor2011-10-18
| | | | | | | expressions (this, sizeof, etc.). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142424 91177308-0d34-0410-b5e6-96231b3b80d8
* Add code completions for C++0x expressionsDouglas Gregor2011-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142357 91177308-0d34-0410-b5e6-96231b3b80d8
* When printing a qualified type, look through a substituted templateDouglas Gregor2011-02-17
| | | | | | | | | | | | parameter type to see what's behind it, so that we don't end up printing silly things like "float const *" when "const float *" would make more sense. Also, replace the pile of "isa" tests with a simple switch enumerating all of the cases, making a few more obvious cases use prefix qualifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125729 91177308-0d34-0410-b5e6-96231b3b80d8
* When Parser::ParseExpressionList isn't given a completer, fall back toDouglas Gregor2011-02-17
| | | | | | | | normal "expression" completion. Fixes the most annoying code-completion bug I've found. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125715 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach code completion not to include out-of-line declarations andDouglas Gregor2010-11-09
| | | | | | | | definitions in its results. The original declarations will be visible wherever they are declared. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118484 91177308-0d34-0410-b5e6-96231b3b80d8
* Add code completion for C++ constructors wherever we see the class (orDouglas Gregor2010-09-21
class template) and are in a context where we can have a value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114441 91177308-0d34-0410-b5e6-96231b3b80d8