Argyrios Kyrtzidis
9afa0333db
[Frontend] Make sure we don't do any module imports during parse-only pass.
...
Fixes performance regression of rdar://16816861
Swift SVN r17600
2014-05-07 02:37:49 +00:00
Argyrios Kyrtzidis
2380966931
[IDE] Enhance ide::isSourceInputComplete() function to also return indentation information.
...
Patch provided by GregC.
Swift SVN r16552
2014-04-18 22:12:40 +00:00
Dmitri Hrybenko
68e8fee5fc
Comment parsing: put more information into the generated XML documents
...
This commit adds infrastructure for conversion and testing it.
The conversion is still incomplete, pending discussion about which tags should
we use in the XML documents. I copied the RelaxNG schema from Clang, and will
edit it accordingly.
Swift SVN r16451
2014-04-17 15:42:51 +00:00
Dmitri Hrybenko
d196805275
Comment-to-XML conversion: don't try to get line and column number for imported
...
declarations
Swift SVN r15461
2014-03-25 16:32:44 +00:00
Dmitri Hrybenko
a598087505
ide::getDocumentationCommentAsXML(): pass through comments from Clang
...
Swift SVN r15208
2014-03-18 22:38:12 +00:00
Dmitri Hrybenko
f7699f59b5
Comment parsing: generate a basic XML document from the brief comment
...
Swift SVN r15186
2014-03-18 11:09:53 +00:00
Dmitri Hrybenko
49754619ee
Move USR generation to AST library, so that Serialization library can use it
...
Swift SVN r14681
2014-03-05 11:31:31 +00:00
Argyrios Kyrtzidis
bb4b57c053
[IDE] Introduce ide::printDeclUSR() which uses the mangler to provide a USR for a swift symbol.
...
Swift SVN r14279
2014-02-23 06:54:48 +00:00
Jordan Rose
cbcf17f9bd
Stop leaking memory from Module and FileUnit.
...
Also, disallow creating Modules and FileUnits on the stack. They must always
live as long as the ASTContext.
<rdar://problem/15596964>
Swift SVN r13671
2014-02-08 02:12:57 +00:00
Argyrios Kyrtzidis
d073e3026c
[IDE] Add a convenient overload for ide::isSourceInputComplete that accepts a StringRef.
...
Swift SVN r13318
2014-02-02 06:49:59 +00:00
Argyrios Kyrtzidis
8758451a43
[Parser/IDE] Introduce ide::isSourceInputComplete() which returns true if the input source is fully formed,
...
or false if, for example, a closing brace is missing.
This is useful for the REPL.
rdar://15948039
Swift SVN r13313
2014-02-02 03:14:33 +00:00