Swift flag to apply fix-its in-place?

Is there a Swift compiler flag to apply fix-its in-place?

I saw the following in test file RUN lines (example):

$ swiftc -fixit-all -Xfrontend -emit-fixits-path -Xfrontend foo.remap foo.swift
$ c-arcmt-test foo.remap
foo.swift
/var/folders/15/3kpcx3j13bz0p9_m6bgsj07r00hc_q/T/foo.swift-b0a732.swift
# temporary file with fixits applied

But it's not the easiest to use.

Terms of Service

Privacy Policy

Cookie Policy