swift
swift copied to clipboard
The Swift Programming Language
Cherry-pick https://github.com/swiftlang/swift/pull/80505 to `release/6.2`. The metadata creation system detects cycles where metadata depends on other metadata which depends on the first one again and raises a fatal error if the...
Some fixes for coroutines with normal results and `partial_apply` of coroutines were required. Fixes #55084
Currently, the macro plugin options are included as cache key and the absolute path of the plugin executable and library will affect cache hit, even the plugin itself is identical....
This was accidentally left off from #80389, and will properly ensure BTCFI enforcement is disabled on the platform when required. (unfortunately, I should pick this onto `release/6.2` once approved as...
`SwiftDeclSynthesizer` is a class that was created to extract the synthesis logic out of `ClangImporter.cpp`. However, it is artificially stateful, since each instance only contains a `ClangImporter::Implementation &ImporterImpl`. This makes...
### Description In the code of this project, Swift dictionary keys are required to be of `Hashable` type, but when creating a dictionary, it can accept `Optional` type keys without...
From libc++ 20, `std::string` has 3 fields marked with `[[no_unique_address]]`. This attribute is not supported in Swift and was causing a runtime crash when printing a `std::string` in Swift. In...
No solution yet, but a good reproducer test for now rdar://145292018
### Description In Swift 6.1 (Ubuntu Noble) we get a lot of unwanted debug information hiding the information we actually want to see... ``` 6.1-noble: Pulling from library/swift 5b17151e9710: Already...