[SourceKit/Refactoring] Macro expansion

Add refactoring "Expand Macro" that expands macro expressions.

rdar://102739026
This commit is contained in:
Rintaro Ishizaki
2022-12-06 14:45:25 -08:00
parent 0b29450a3d
commit 9f137074af
6 changed files with 116 additions and 4 deletions

View File

@@ -64,6 +64,8 @@ CURSOR_REFACTORING(AddAsyncAlternative, "Add Async Alternative", add.async-alter
CURSOR_REFACTORING(AddAsyncWrapper, "Add Async Wrapper", add.async-wrapper)
CURSOR_REFACTORING(ExpandMacro, "Expand Macro", expand.macro)
RANGE_REFACTORING(ExtractExpr, "Extract Expression", extract.expr)
RANGE_REFACTORING(ExtractFunction, "Extract Method", extract.function)