Files
swift-mirror/include/swift/Basic
Ben Barham d51c58a6f9 [Basic] hasFeature should succeed for promoted language features
Merge `$<Feature>` and `hasFeature` implementations.
  - `$<Feature>` did not support upcoming language features.
  - `hasFeature` did not support promoted language features and also
    didn't take into account `Options` in `Features.def`.

Remove `Options` entirely, it was always one of three cases:
  - `true`
  - `langOpts.hasFeature`
  - `hasSwiftSwiftParser`

Since `LangOptions::hasFeature` should always be used anyway, it's no
longer necessary. `hasSwiftSwiftParser` can be special cased when adding
the default promoted language features (by removing those features).

Resolves rdar://117917456.
2024-01-05 10:26:13 -08:00
..
2023-07-13 11:22:35 -07:00
2023-08-03 10:06:44 -07:00
2023-06-27 09:03:52 -07:00
2023-07-17 10:55:55 -07:00
2023-07-17 10:53:42 -07:00
2023-12-08 09:13:39 -05:00
2023-11-08 14:56:20 -08:00
2023-07-17 10:55:55 -07:00
2023-06-27 09:03:52 -07:00
2023-12-01 15:06:51 -08:00
2023-07-25 12:28:27 -07:00
2023-07-25 12:28:27 -07:00
2023-06-27 09:03:52 -07:00
2023-07-17 10:55:55 -07:00
2023-06-27 09:03:52 -07:00
2023-07-17 10:55:55 -07:00
2023-06-27 09:03:52 -07:00
2023-06-27 09:03:52 -07:00
2023-06-27 09:03:52 -07:00