Alex Hoppen
32eff21977
[IDE] Remove "Begin completions" and "End completions" from test cases
...
These test lines weren't actually providing any value and were annoying to write. Let's jut remove them.
2023-03-22 09:07:17 -07:00
Hamish Knight
2872210735
[CodeCompletion] Fix a call to computeDefaultMap
...
Resolves SR-10795.
2019-05-31 15:53:27 +01:00
Rintaro Ishizaki
97d7111fa6
[CodeCompletion] Clean-up result build for method/function all
...
Don't emit duplicate results for implicitly curried instance methods
with defaulted parameters.
2019-03-05 16:45:48 -08:00
Ben Langmuir
e44eb34cd6
[code-complete] Don't suggest trailing closure for autoclosure
...
rdar://34921171
2018-01-03 13:33:02 -08:00
Dmitri Gribenko
d175b3b66d
Migrate FileCheck to %FileCheck in tests
2016-08-10 23:52:02 -07:00
Michael Ilseman
f48471ebd4
[noescape by default] purge tests of needless @noescape
2016-08-04 16:14:27 -07:00
Ben Langmuir
c8f7da4de1
[CodeCompletion] Support a narrow case for producing trailing closures directly
...
This adds a narrow special case in code-completion for control-flow-like
methods such as DispatchQueue().sync that are () -> (), to add a new
completion where the trailing closure is immediately expanded rather
than having to invoke placeholder expansion as a second step.
rdar://problem/26628804
2016-07-01 14:16:57 -07:00