Files
swift-mirror/test/FixCode/fixit-all.swift
Anthony Latsis 4f4141fea8 Frontend: Obsolete -fixit-all and -emit-fixits-path
With `ARCMigrate` and `arcmt-test` removed from clang in
https://github.com/llvm/llvm-project/pull/119269 and the new code
migration experience under way (see
https://github.com/swiftlang/swift-evolution/pull/2673), these options
are no longer relevant nor known to be in use. They were introduced
long ago to support fix-it application in Xcode.

For now, turn them into a no-op and emit a obsoletion warning.
2025-05-07 02:30:30 +01:00

6 lines
299 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -typecheck -fixit-all -emit-fixits-path %t.remap %s 2>&1 | %FileCheck %s
// CHECK: <unknown>:0: warning: ignoring '-fixit-all'; this option is obsolete
// CHECK: <unknown>:0: warning: ignoring '-emit-fixits-path'; this option is obsolete