Commit Graph

1359 Commits

Author SHA1 Message Date
Dmitri Hrybenko
034c9e370c dump() output should go to errs(). Thanks, Jordan!
Swift SVN r6215
2013-07-12 21:07:16 +00:00
Dmitri Hrybenko
c80697e411 Add FIXMEs to code completion code.
Swift SVN r6214
2013-07-12 21:04:47 +00:00
Dmitri Hrybenko
bdf8768522 Don't track prefix while doing a code completion lookup.
Swift SVN r6213
2013-07-12 20:55:09 +00:00
Dmitri Hrybenko
f28d4a081a Refactor CodeCompletionString and CodeCompletionResult stringification
functions to use raw_ostream like the rest of clang and swift.  Also add a
comment that these functions are intended for debugging only.


Swift SVN r6212
2013-07-12 20:50:26 +00:00
Dmitri Hrybenko
3a7f5dfd94 Don't add SubscriptDecls to code completion results for a metatype base expression.
Swift SVN r6207
2013-07-12 18:40:19 +00:00
Dmitri Hrybenko
9b3ce25c17 Add code completion for constructors
Swift SVN r6203
2013-07-12 18:34:25 +00:00
Dmitri Hrybenko
c4f33c89a8 Add code completion for subscript operators
Swift SVN r6202
2013-07-12 18:03:15 +00:00
Dmitri Hrybenko
02084efab7 Implement code completion for some function calls and member variable accesses
in expr-dot and expr-postfix that can be typechecked without typechecking the
beginning of the function body.


Swift SVN r6198
2013-07-12 02:00:41 +00:00
Dmitri Hrybenko
3c5b12fc0f Code completion: add a lot of infrastructure code
* Added a mode in swift-ide-test to test code completion.  Unlike c-index-test,
  the code completion token in tests is a real token -- we don't need to
  count lines and columns anymore.

* Added support in lexer to produce a code completion token.

* Added a parser interface to code completion.  It is passed down from the
  libFrontend to the parser, but its functions are not called yet.

* Added a sketch of the interface of code completion consumer and code
  completion results.

Note: all this is not doing anything useful yet.


Swift SVN r6128
2013-07-10 20:53:40 +00:00