summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-ctor-inits.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tweak code-completion result priorities, so that exact and similarDouglas Gregor2010-10-191-11/+11
| | | | | | | | | 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. llvm-svn: 116774
* Teach libclang to walk the base and member initializers of aDouglas Gregor2010-09-091-9/+9
| | | | | | | | constructor, in source order. Also introduces a new reference kind for class members, which is used here (for member initializers) and will also be used for designated initializers and offsetof. llvm-svn: 113545
* Improve code completion for initializer lists in constructors. InsteadDouglas Gregor2010-08-291-12/+19
| | | | | | | | | | of prioritizing just by initialization order, we bump the priority of just the *next* initializer in the list, and leave everything else at the normal priority. That way, if one intentionally skips the initialization of a base or member (to get default initialization), we'll still get ordered completion for the rest. llvm-svn: 112454
* Add missing test case for constructor-initializer code completionsDouglas Gregor2010-08-291-0/+33
llvm-svn: 112453
OpenPOWER on IntegriCloud