mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[IDE] Refactoring: Expand a ternary operator into an if statement and vice-versa (#12554)
This commit is contained in:
@@ -48,6 +48,10 @@ Action(llvm::cl::desc("kind:"), llvm::cl::init(RefactoringKind::None),
|
||||
"simplify-long-number", "Perform simplify long number literal refactoring"),
|
||||
clEnumValN(RefactoringKind::ConvertStringsConcatenationToInterpolation,
|
||||
"strings-concatenation-to-interpolation", "Perform strings concatenation to interpolation refactoring"),
|
||||
clEnumValN(RefactoringKind::ExpandTernaryExpr,
|
||||
"expand-ternary-expr", "Perform expand ternary expression"),
|
||||
clEnumValN(RefactoringKind::ConvertToTernaryExpr,
|
||||
"convert-to-ternary-expr", "Perform convert to ternary expression"),
|
||||
clEnumValN(RefactoringKind::ExtractFunction,
|
||||
"extract-function", "Perform extract function refactoring"),
|
||||
clEnumValN(RefactoringKind::MoveMembersToExtension,
|
||||
|
||||
Reference in New Issue
Block a user