Rename the swift-format utility to swift-indent

This is to distinguish the C++ indenting functionality from the new formatter that is written in Swift.
This commit is contained in:
Argyrios Kyrtzidis
2019-07-26 11:40:54 -07:00
parent 28b3d8e0a7
commit 0135e01d02
21 changed files with 142 additions and 142 deletions

View File

@@ -97,7 +97,7 @@ void Driver::parseDriverKind(ArrayRef<const char *> Args) {
.Case("swift", DriverKind::Interactive)
.Case("swiftc", DriverKind::Batch)
.Case("swift-autolink-extract", DriverKind::AutolinkExtract)
.Case("swift-format", DriverKind::SwiftFormat)
.Case("swift-indent", DriverKind::SwiftIndent)
.Default(None);
if (Kind.hasValue())
@@ -3053,7 +3053,7 @@ void Driver::printHelp(bool ShowHidden) const {
break;
case DriverKind::Batch:
case DriverKind::AutolinkExtract:
case DriverKind::SwiftFormat:
case DriverKind::SwiftIndent:
ExcludedFlagsBitmask |= options::NoBatchOption;
break;
}