Commit Graph

159 Commits

Author SHA1 Message Date
Dmitri Hrybenko
85b16aea10 Adjust comment for swift.Slice -> swift.Array rename
Swift SVN r11233
2013-12-13 02:27:53 +00:00
Dmitri Hrybenko
374aa1d57c AST printing: when printing module interface, explode PatternBindingDecls
The exact pattern that was used to declare a variable is not important from the
module interface point of view.


Swift SVN r11231
2013-12-13 02:19:04 +00:00
Dmitri Hrybenko
ee8a9af14d AST printer: add an option to print types qualified if they are possibly ambiguous
Swift SVN r11210
2013-12-12 21:25:05 +00:00
Dmitri Hrybenko
89a8cddbe0 AST Printer: add PrintOptions::SynthesizeSugarOnTypes for use by LLDB in some
cases


Swift SVN r9248
2013-10-12 00:43:32 +00:00
Dmitri Hrybenko
38994060d5 AST printing: merge swift::Type::PrintOptions into swift::PrintOptions
There is no reason to have two different options structs.


Swift SVN r8749
2013-09-28 02:19:31 +00:00
Anna Zaks
970bcd3bc6 fixup for r8625
Fix a copy and paste error + a better comment.
Thanks Dmitry.

Swift SVN r8631
2013-09-25 17:56:23 +00:00
Anna Zaks
30039a59f1 Emit Swift declarations when printing SIL.
Only print function member declarations and skip the bodies since the bodies are already represented in SIL and ASTPrinter is not good enough to print arbitrary expressions.

In order to have valid output, make sure that ASTPrinter does not print references to DynamicLookup protocol.

Swift SVN r8627
2013-09-25 17:08:42 +00:00
Dmitri Hrybenko
725b0e01eb AST Printer: fix printing of same type requirement in generic parameter lists
These types are really the same for the type checker, so they are printed in
exactly the same way.  To recover the original spelling, prefer to print
a TypeRepr, if available.


Swift SVN r8603
2013-09-24 21:16:35 +00:00
Doug Gregor
f3857df469 Implement an AST pretty-printer for declarations, under -print-ast.
Swift SVN r3431
2012-12-10 23:21:49 +00:00