David Farler
fbc220a036
Revert "Revert "Enable cmark smart punctuation in doc comments""
...
This reverts commit f723b86614 and
updates the IDE tests that incidentally included some punctuation.
No new tests are necessary - the character level tests are exercised
in cmark itself.
2016-04-10 13:32:43 -07:00
Manav Gabhawala
7928140f79
[SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary
2016-04-06 20:21:58 -04:00
Manav Gabhawala
7862f104c9
[Parser] Cleans up parsing of parameter attributes. Implements SE-0053. Fixes SR-979, SR-1020 and cleans up implementation of SE-0003. Provides better fix-its and diagnostics for misplaced 'inout' and prohibits 'var' and 'let' from parameter attributes
2016-03-29 13:55:46 -04:00
Xi Ge
fda0751cae
[SourceKit] In interface-gen request, allow clients to send SourceKit an interested USR from which we can infer the group name.
2016-03-23 17:26:44 -07:00
Xi Ge
3dd149ab99
[SourceKit] CursorInfo: The result of cursor info for a module name starts to include group names in that module.
2016-03-21 17:20:18 -07:00
Ben Langmuir
187bc9fbb9
[CursorInfo] Annotate tuple types in fully annotated decl
...
We already annotate the elements, this just adds annotations around the
outer parentheses, including when the tuple is unit.
rdar://problem/25147925
2016-03-21 16:31:52 -07:00
Xi Ge
2c75cfba39
[SourceKit] Similar with what we do for module printing, for quick help, elevate the doc-comment from conformances if the decl itself does not have associated doc-comment. rdar://24409720
2016-03-21 15:05:02 -07:00
Xi Ge
5d054cb5df
[Test] Add a stdlib-independent test to ensure that we never print @warn_unused_result in quick help.
...
Suggested by @benlangmuir
2016-03-21 11:30:56 -07:00
Xi Ge
c85591bc25
[SourceKit] CursorInfo: not showing @warn_unused_result in quick help.
2016-03-18 16:39:27 -07:00
Ben Langmuir
b5f4e9d45d
[SourceKit] Rename result_test to more descriptive name cursor_generic_enum
2016-03-17 16:31:46 -07:00
Ben Langmuir
503887c5f2
[SourceKit] Split SourceDocInfo tests into CursorInfo and RelatedIdents subdirectories
...
Unless you're familiar with the way the swift source code is organized,
it's not clear what "SourceDocInfo" means, or how it is different from
DocSupport, etc. Move the tests into directories that are named based
on their request (note: we already had one test under CursorInfo, which
just made things even more confusing).
2016-03-17 16:31:46 -07:00
John Holdsworth
b92f09fc12
Add of comment affected line offsets of test
2016-03-12 00:20:08 +00:00
John Holdsworth
474f043c93
Make test self-contained using CHECK:
2016-03-11 23:47:42 +00:00
John Holdsworth
3a8a8e080e
New test for common SourceKit crash
2016-03-11 23:24:11 +00:00