Commit Graph

68 Commits

Author SHA1 Message Date
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
5683a6145a Merge pull request #62752 from quinntaylor/const-extract-dictionary
[Compile Time Constant Extraction] Add extraction of Dictionary values.
2023-01-05 13:14:31 -05:00
James Paolantonio
0d52c41e61 [Compile Time Constant Extraction] Add extraction of paren expressions (#62816) 2023-01-04 09:27:00 -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
b6d098618d [Compile Time Constant Extraction] Add extraction of property wrappers (#62555) 2022-12-14 09:28: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
James Paolantonio
7acbf557ae [Compile Time Constant Extraction] Fix tests (#62481) 2022-12-09 09:19:36 -08:00
James Paolantonio
186e55f5fd [Compile Time Constant Extraction] Add extraction computed variables in extensions (#62465) 2022-12-09 08:13:38 -05:00
James Paolantonio
7832de07f9 [Compile Time Constant Extraction] Add extraction of initialization calls (#62365) 2022-12-06 08:44:57 -05:00
Quinn Taylor
43a126c28a [Compile Time Constant Extraction] Add valueKind property to JSON output.
For computed Swift properties where `valueKind` is `"Runtime"`, exclude the `value` JSON property.
2022-11-29 13:58:30 -05:00
James Paolantonio
9f69176035 [Compile Time Constant Extraction] Add extraction of single statement returns of computed properties. 2022-11-28 10:32:05 -05:00
Artem Chikin
51735a8d48 Add missing FileCheck invocatoin to 'test/ConstExtraction/fields.swift' 2022-10-13 13:25:19 -07:00
Artem Chikin
38455e29f3 [Compile Time Constant Extraction] Print fully-qualified type names 2022-08-19 11:39:46 -07:00
Artem Chikin
514996e755 [Compile Time Constant Extraction] Use 'Expr::printConstExprValue' instead of rolling it ourselves. 2022-08-19 11:39:40 -07:00
Artem Chikin
6e7f3076b8 Add rudimentary emission of compile-time-known default-initialized property values of specific conformances. 2022-08-01 11:06:59 -07:00