Jordan Rose
a2af37a19b
Split PrintOptions::printEverything into printEverything and printVerbose.
...
The former is for debugging, the latter is for detailed presentation to users.
swift -print-ast will continue using printEverything, as will swift-ide-test,
but all other features should use printVerbose.
Swift SVN r20432
2014-07-23 22:28:55 +00:00
Dmitri Hrybenko
1007ef3f95
Module interface printing: add an option to filter declarations based on
...
access control
Swift SVN r20399
2014-07-23 15:03:58 +00:00
Argyrios Kyrtzidis
7b62fa0c44
[ASTPrinter] Introduce a callback invoked after printing the name of the declaration (the signature for functions).
...
Swift SVN r19973
2014-07-15 05:56:54 +00:00
Argyrios Kyrtzidis
bb66d6dd1a
[IDE] Don't show '@transparent' in the module interface.
...
rdar://16804855
Swift SVN r17350
2014-05-04 01:24:55 +00:00
Argyrios Kyrtzidis
9151996c9f
[IDE] Don't show "import SwiftShims" in the stdlib interface.
...
Swift SVN r17344
2014-05-04 00:26:34 +00:00
Dmitri Hrybenko
739c495282
AST printer: use identifier escaping
...
rdar://16233153
Swift SVN r16933
2014-04-27 17:25:24 +00:00
Dmitri Hrybenko
a526517cec
Module interface printing: print all sub-sub-modules when instructed to do so
...
<<Darwin>>->isModuleVisible(<<Darwin.*>>) returns false for some reason,
and I am not sure if this is correct or not.
Swift SVN r16520
2014-04-18 14:14:20 +00:00
Argyrios Kyrtzidis
0ccc83db54
[IDE/ModuleInterface] Print a blank line between top-level Swift declarations.
...
Swift SVN r16442
2014-04-17 05:10:46 +00:00
Argyrios Kyrtzidis
a9ea63a7f7
[IDE/ModuleInterface] Adjust the indentation of regular comments to match the current indentation level.
...
Swift SVN r16362
2014-04-15 06:27:40 +00:00
Argyrios Kyrtzidis
f931674573
[IDE/ModuleInterface] Pick up the vertical spacing/grouping that is used in the clang module header.
...
Swift SVN r16294
2014-04-14 03:28:08 +00:00
Argyrios Kyrtzidis
31a620f1ee
[IDE/ModuleInterface] Fix erroneously printed newline between a regular comment and the declaration it is 'attached' to.
...
Swift SVN r16293
2014-04-14 03:28:05 +00:00
Argyrios Kyrtzidis
293d771905
[IDE] Add an option to skip printing declarations that start with '_', for the module interface.
...
rdar://16559411
Swift SVN r16272
2014-04-13 04:35:30 +00:00
Argyrios Kyrtzidis
ba30e56b58
[IDE] When picking regular comments from clang headers, make sure that extensions/categories
...
are printed in the right source location otherwise the comments will be out-of-place.
Swift SVN r16271
2014-04-13 04:35:29 +00:00
Argyrios Kyrtzidis
2da311cf1f
[IDE] For the module interface, don't print submodule imports, unless they are submodules
...
of the module we are printing.
rdar://16530804
Swift SVN r16262
2014-04-12 19:20:08 +00:00
Argyrios Kyrtzidis
49ef6ab8cd
[IDE] Use ClangNode::getLocation().
...
Swift SVN r16253
2014-04-12 16:33:39 +00:00
Argyrios Kyrtzidis
4c91bd074f
[IDE] Print out regular comments from the clang module headers, for the module interface.
...
rdar://16451119
Swift SVN r16249
2014-04-12 05:21:08 +00:00
Dmitri Hrybenko
7ac0db93a9
Module interface printing: don't print declarations from the Swift overlay when printing a submodule
...
rdar://16559404
Swift SVN r16117
2014-04-09 14:22:56 +00:00
Doug Gregor
9e75a46c8c
swift-ide-test: Add a -skip-unavailable option to skip unavailable declarations
...
Swift SVN r16056
2014-04-08 16:34:44 +00:00
Dmitri Hrybenko
f83a6c0c5a
AST printing: don't insist on having a Clang module in Swift-only modules
...
Swift SVN r15966
2014-04-04 23:59:51 +00:00
Doug Gregor
1a6d27079d
Module interface printing: add an option to skip the Swift overlay.
...
This is a debugging aid, not a general feature, hence the lack of
testing or actual, correct semantics.
Swift SVN r15886
2014-04-03 18:07:59 +00:00
Doug Gregor
8b684f3f7c
Module interface printing: bring back printing of submodules.
...
Brings back the behavior removed in r15800 under a pair of flags
(-module-print-submodules and -module-print-hidden) that control
whether to print submodules, possibly including submodules that aren't
explicitly visible.
Swift SVN r15872
2014-04-03 16:10:11 +00:00
Dmitri Hrybenko
f4c018d3f7
Correct filename in the comment
...
Swift SVN r15801
2014-04-02 15:00:18 +00:00
Dmitri Hrybenko
d72109e97d
Module interface printing: don't print submodules (either implicit of explicit)
...
of the module being printed
rdar://16497611
Swift SVN r15800
2014-04-02 14:54:39 +00:00
Dmitri Hrybenko
78e354b2b9
AST printing: make PrintDefaultParameterPlaceholder the default (since we are
...
not going to implement expression printing any time soon), and fix a bug in its
implementation: when used with deserialized modules, "= default" was not
printed.
Swift SVN r15798
2014-04-02 13:56:54 +00:00
Dmitri Hrybenko
d68ad2c3c4
Simplify code
...
Swift SVN r15740
2014-04-01 17:34:00 +00:00
Dmitri Hrybenko
af5aeadc98
Actually pass module name to ide::printSubmoduleInterface()
...
Swift SVN r15733
2014-04-01 16:00:08 +00:00
Dmitri Hrybenko
efb2a60ee7
Module interface printing: add a libIDE API to print a Clang submodule
...
Swift SVN r15730
2014-04-01 14:51:58 +00:00
Argyrios Kyrtzidis
5bc01ea0a2
[IDE] Allow the caller of ide::printModuleInterface() to control whether documentation comments should be printed
...
Part of rdar://16450298
Swift SVN r15584
2014-03-28 18:51:47 +00:00
Dmitri Hrybenko
1d6c76c352
Module interface printing: pass through documentation comments for imported
...
declarations
rdar://16408910
Swift SVN r15576
2014-03-28 10:54:06 +00:00
Dmitri Hrybenko
92b29ef045
Revert "Module interface printing: pass through documentation comments for
...
imported declarations"
rdar://16408910
Swift SVN r15527
2014-03-26 21:28:42 +00:00
Dmitri Hrybenko
30c6eeff16
Module interface printing: pass through documentation comments for imported
...
declarations
rdar://16408910
Swift SVN r15511
2014-03-26 16:16:02 +00:00
Dmitri Hrybenko
7e294eea4d
Module interface printing: print imported Clang declarations in header source
...
order
rdar://problem/16408837
Swift SVN r15505
2014-03-26 11:36:25 +00:00