Rintaro Ishizaki
b984789ee5
[AST] Initialize Target of break/continue with nullptr
...
Otherwise, it's never initialized. This doesn't affect normal compilation
because it doensn't reach only-user SILGen due to typecheck error. However,
IDE refactoring uses this regardless of the error.
rdar://problem/33972653
2018-04-20 15:25:09 +09:00
Rintaro Ishizaki
53be298f1f
[IDE] Don't emit “Convert to Trailing Closure” for trailing closure ( #15824 )
...
rdar://problem/39253640
2018-04-09 15:30:52 +09:00
Xi Ge
2f47af6c7c
refactoring: don't assume every pattern binding has an initializer. rdar://38062772
2018-03-05 16:14:09 -08:00
Xi Ge
cf36346021
refactoring: when RangeInfo is of kind PartOfExpression, we should use the dedicated field to get the parent expression. rdar://36755861 ( #14088 )
2018-01-23 12:53:50 -08:00
Roman Roibu
b2d122c4a7
[IDE] Refactoring: Expand a ternary operator into an if statement and vice-versa ( #12554 )
2017-12-21 12:40:30 -08:00
Rintaro Ishizaki
a57199cf68
[refactoring] Implement "Convert to Trailing Closure" refactoring action
2017-10-16 00:42:05 -07:00
Kacper Harasim
8cd677eb1f
[Refactoring] SR-6051 Expansion of switch statement missing cases ( #12281 )
2017-10-13 09:37:58 -07:00
Kacper Harasim
6fcb8308ff
[IDE] Refactoring: conversion from “force try” to error handled version ( #12063 )
...
* [IDE] Refactoring: conversion from “force try” do error handled version
* Removed unnecessary empty line
* Changed name of the refactor
* Review fixes
* Fixed recognizing try_! location by CursorResolver
* Review fixes
2017-09-24 09:05:32 -04:00
Kacper Harasim
80698a04b0
[IDE] SR-5745 Refactoring: converting strings concatenation expression to strings interpolation ( #11944 )
2017-09-19 13:37:42 -07:00
Will T. Ellis
57454eb8c9
SR-5739 Add refactoring action to collapse nested if ( #11851 )
2017-09-18 16:16:01 -07:00
Xi Ge
53585a5e70
Refactoring: Implement a refactoring action to simplify long number literal format. SR-5746
...
For instance, converting from "100000" to "100_000", and "1000.0001" to
"1_000.000_1".
2017-08-31 14:25:48 -07:00
Argyrios Kyrtzidis
60a91bb736
[refactoring] Upstreaming the implementation for Swift local refactoring ( #11568 )
...
[refactoring] Upstreaming the implementation for Swift local refactoring
2017-08-22 16:50:16 -07:00