swift
swift copied to clipboard
The Swift Programming Language
Older glibc doesn't include these. Nor does Musl, it seems. The previous fix put the `gettid()` declaration too far down the file. rdar://110417355
We were using a regular expression to scan `/proc//maps`, but we shouldn't really do that because it breaks non-bootstrapped builds. Resolves #66457. rdar://110452324
`.swiftmodule` is listed as an output of pure swift libraries, but it isn't updated if there's been no changes (just like the library and its object files). Add it to...
This requirement seems to be too restrictive. The test works for me as-is on an M2 Max (removing the REQUIRES line, of course). I assume the intention is to limit...
This crashes in SILGen: ```swift extension Never { init(value: Self) { self = switch value { case let v: v } } } ``` ``` Assertion failed: (hasValidInsertionPoint()), function insertImpl,...
**Motivation** While prototyping a solution to [this](https://github.com/apple/swift/issues/66420) issue, I encountered a strange behavior of the optimizer. It appears that the optimizer considers `init` with an assignment to a class `let`...
Testing https://github.com/apple/swift/pull/64948 on the `main-windows-vs2022` to see if the CI hits the same issues.
Allows protocols to be nested in non-generic types/functions. Gated behind flag `-enable-experimental-feature NestedProtocols`. SE proposal coming soon. TODO: - [ ] Test that ASTPrinter adds feature guards around uses of...
Do not merge.