swiftlang / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Swift’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.11k stars 328 forks source link

[clang] Restore has_feature(swiftasynccc) while swift moves to has_extension. #9155

Closed ahmedbougacha closed 3 weeks ago

ahmedbougacha commented 3 weeks ago

ea1fea6a6ff7 added has_extension(swiftcc), but also turned swiftasynccc from a feature to an extension. This breaks swift versions that predate the transition (swiftlang/swift@1f91d9547fa).

Restore a temporary swiftasynccc feature to keep supporting older versions.

rdar://133628186