Commit Graph

14 Commits

Author SHA1 Message Date
Venkatesh Sriram
9ca55fdf89 [Compile Time Constant Extraction] Add information about where a particular conformance has been defined 2024-10-15 15:46:21 -07:00
Slava Pestov
37dbd05354 ConstExtract: Update for noncopyable generics (sort of) 2024-03-01 11:05:54 -05:00
Kavon Farvardin
f296d8e158 NCGenerics: mass XFAIL tests
It's easier to get a handle on regressions while working through
failures if the tests that are known to not pass are XFAIL'd for
NoncopyableGenerics.
2024-02-20 18:26:05 -05:00
Artem Chikin
faa9751c37 [Compile Time Constant Extraction] Emit underlying types for typealias types
Resolves rdar://113402135
2023-08-18 10:44:46 -07:00
Artem Chikin
0ea41efded [Compile Time Constant Extraction] Deprecated extraction of property mangled
names. It can often be more complex than the code can currently handle (e.g.
properties whose types include archetypes), and we
do not have a good motivating use-case to extract them.

Resolves rdar://113039215
2023-08-01 15:52:52 -07:00
Artem Chikin
3f0c0f0553 [Compile Time Constant Extraction] Add extraction of all conformances and type aliases of applicable nominal types
This change adds to the extracted type metadata the following fields:
- Conformances: this is a list of all protocols that the given nominal type conforms to
- associated type aliases: this is a list of all associated types across all conformances that the given nominal type substitutes with concrete types. For a given associated type, we gather:
  - Associated type name
  - Substituted type's fully-qualified name
  - Substituted type's mangled name
  - If the substituted type is opaque:
    - List of conformance requirements of this opaque type
    - List of same-type requirements of this opaque type
2023-06-22 07:13:24 -07:00
Anthony Latsis
7f6d3bcd41 ASTPrinter: Turn on explicit any printing for everything and remove the option to disable it 2023-05-13 02:55:49 +03:00
Artem Chikin
544dae4713 [Compile Time Constant Extraction] Print desugared arrays, dictionaries, optionals
Resolves rdar://103187206
2023-01-23 17:12:31 -08:00
James Paolantonio
5a1207569e [Compile Time Constant Extraction] Extract line numbers (#62870) 2023-01-09 16:31:41 -05:00
James Paolantonio
4a2908041f [Compile Time Constant Extraction] Update string literal output formatting (#62836) 2023-01-06 07:04:51 -05:00
Quinn Taylor
813f542d2a [Compile Time Constant Extraction] Add extraction of Dictionary values. 2022-12-21 22:40:01 -05:00
James Paolantonio
5ec4143f4a [Compile Time Constant Extraction] Add extraction of arrays (#62491) 2022-12-14 17:46:09 -05:00
James Paolantonio
0d666e2911 [Compile Time Constant Extraction] Add extraction of tuples (#62436) 2022-12-13 13:17:42 -05:00
Quinn Taylor
a617c34835 [Compile Time Constant Extraction] Split fields.swift test file into 3 files with clear scoping and naming. 2022-12-12 12:00:36 -05:00