summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-exprs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeComplete] Omit templated constructors from member list too.Sam McCall2018-01-221-2/+2
| | | | | | Also avoid printing a 'void' return type for constructor expressions. llvm-svn: 323148
* [libclang] Remove the ParentKind cursor kind from code-completion results.Argyrios Kyrtzidis2012-09-261-3/+3
| | | | | | This is to reduce dependency to cursors for the code-completion results. llvm-svn: 164705
* Introduce a new libclang API to determine the parent context of a codeDouglas Gregor2012-03-271-0/+17
| | | | | | | | | 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>. llvm-svn: 153545
* Tweak this test to test more directly what we want, and hopefully work ↵Douglas Gregor2011-10-191-2/+10
| | | | | | around the brokenness of code completion under -fdelayed-template-parsing llvm-svn: 142472
* Minor tweak to testDouglas Gregor2011-10-181-1/+1
| | | | llvm-svn: 142427
* Provide result types for code completions that describe built-inDouglas Gregor2011-10-181-3/+6
| | | | | | expressions (this, sizeof, etc.). llvm-svn: 142424
* Add code completions for C++0x expressionsDouglas Gregor2011-10-181-2/+5
| | | | llvm-svn: 142357
* When printing a qualified type, look through a substituted templateDouglas Gregor2011-02-171-2/+2
| | | | | | | | | | 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. llvm-svn: 125729
* When Parser::ParseExpressionList isn't given a completer, fall back toDouglas Gregor2011-02-171-0/+14
| | | | | | | normal "expression" completion. Fixes the most annoying code-completion bug I've found. llvm-svn: 125715
* Teach code completion not to include out-of-line declarations andDouglas Gregor2010-11-091-2/+4
| | | | | | | definitions in its results. The original declarations will be visible wherever they are declared. llvm-svn: 118484
* Add code completion for C++ constructors wherever we see the class (orDouglas Gregor2010-09-211-0/+37
class template) and are in a context where we can have a value. llvm-svn: 114441
OpenPOWER on IntegriCloud