summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-constructor-params.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't show deleted function (constructor) candidates for code completionErik Verbruggen2017-09-081-0/+17
| | | | | | | | | | | In case of copy constructor is implicitly deleted it's still shown. PR34402 describes a way to reproduce that. Patch by Ivan Donchevskii! Differential Revision: https://reviews.llvm.org/D37435 llvm-svn: 312785
* [libclang] Fix crash when code-completing inside constructor initializer for ↵Argyrios Kyrtzidis2015-03-131-0/+14
| | | | | | | | a builtin type. rdar://20149746 llvm-svn: 232145
* Improves overload completion result chunks.Francisco Lopes da Silva2015-01-281-7/+7
| | | | | | | | | | | | | | | | | | | | | The code building the code completion string for overloads was providing less detail compared to the one building completion strings for function declarations. There was no information about optionals and no information about what's a parameter and what's a function identifier, everything besides ResultType, CurrentParameter and special characters was classified as Text. This makes code completion strings for overload candidates to follow a pattern very similar, but not identical, to the one in use for function declarations: - return type chunk: ResultType - function identifier chunk: Text - parameter chunks: Placeholder - optional parameter chunks: Optional - current parameter chunk: CurrentParameter llvm-svn: 227309
* Initial support for C++ parameter completionFrancisco Lopes da Silva2015-01-211-0/+126
The improved completion in call context now works with: - Functions. - Member functions. - Constructors. - New expressions. - Function call expressions. - Template variants of the previous. There are still rough edges to be fixed: - Provide support for optional parameters. (fix known) - Provide support for member initializers. (fix known) - Provide support for variadic template functions. (fix unknown) - Others? llvm-svn: 226670
OpenPOWER on IntegriCloud