Files
swift-mirror/test/attr/attr_extern_fixit.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

7 lines
299 B
Swift

// RUN: %target-typecheck-verify-swift -enable-experimental-feature Extern
// REQUIRES: swift_feature_Extern
@_extern(c) // expected-warning {{C name '+' may be invalid; explicitly specify the name in '@_extern(c)' to suppress this warning}}{{11-11=, "+"}}{{none}}
func +(a: Int, b: Bool) -> Bool