Commit Graph

7628 Commits

Author SHA1 Message Date
LamTrinh.Dev
9ac94d3ffa Update reflect_NSNumber.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:10:13 +07:00
LamTrinh.Dev
ff63d2284e Update reflect_NSArray.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:09:15 +07:00
LamTrinh.Dev
b2f9976dd8 Update reflect_Enum_values_resilient.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:07:03 +07:00
LamTrinh.Dev
39224a1ebb Update reflect_Enum_values9.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:06:17 +07:00
LamTrinh.Dev
7c47570c63 Update reflect_Enum_values8.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:05:58 +07:00
LamTrinh.Dev
f3800be6d6 Update reflect_Enum_values7.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:05:37 +07:00
LamTrinh.Dev
f35c57e82b Update reflect_Enum_values6.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:05:17 +07:00
LamTrinh.Dev
baed1da4a9 Update reflect_Enum_values5.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:04:57 +07:00
LamTrinh.Dev
bf2f25cfa2 Update reflect_Enum_values4.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:04:36 +07:00
LamTrinh.Dev
aa0a602455 Update reflect_Enum_values3.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:04:15 +07:00
LamTrinh.Dev
cd14ab8e63 Update reflect_Enum_values2.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:03:54 +07:00
LamTrinh.Dev
450f1c6157 Update reflect_Enum_values11.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:02:12 +07:00
LamTrinh.Dev
a175465d5b Update reflect_Enum_values10.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:01:50 +07:00
LamTrinh.Dev
b81067d0b1 Update reflect_Enum_values.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:01:27 +07:00
LamTrinh.Dev
d3204c5433 Update reflect_Enum_value.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 23:00:42 +07:00
LamTrinh.Dev
a004b872c7 Update inherits_ObjCClasses.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:59:02 +07:00
LamTrinh.Dev
b9ec7744bf Update inherits_NSObject.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:58:24 +07:00
LamTrinh.Dev
6c2f3537fa Update functions_objc.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:57:54 +07:00
LamTrinh.Dev
999e287d99 Update existentials_objc.swift
Adding comment for "// REQUIRES: reflection_test_support"
2024-07-29 22:56:41 +07:00
LamTrinh.Dev
1684a50966 Update inherits_Swift.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:05:08 +07:00
LamTrinh.Dev
35c050df37 Update inherits_ObjCClasses.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:04:31 +07:00
LamTrinh.Dev
129126d5f1 Update inherits_NSObject.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:04:03 +07:00
LamTrinh.Dev
58ed9e7fd3 Update functions_objc.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:03:43 +07:00
LamTrinh.Dev
5db4317811 Update functions.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 18:03:18 +07:00
LamTrinh.Dev
971048907b Update existentials.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 17:59:08 +07:00
LamTrinh.Dev
86dc6271fe Update existentials_objc.swift
Adding more comment for "UNSUPPORTED: asan".
2024-07-27 17:55:48 +07:00
swift-ci
608edaf552 Merge remote-tracking branch 'origin/main' into rebranch 2024-07-26 20:55:11 -07:00
Tim Kientzle
cbd0c14407 New reflect_Actor test 2024-07-26 17:17:29 -07:00
Tim Kientzle
f73cfa7396 Reflection tests are incompatible with ASAN 2024-07-26 09:55:08 -07:00
swift-ci
5b7fc4ef1f Merge remote-tracking branch 'origin/main' into rebranch 2024-07-24 22:13:53 -07:00
Tim Kientzle
8d22ae449c More MPE improvements
This fills in a number of missing cases:
* MPEs with closure payloads
* MPEs with many non-payload cases
* MPEs with class existential payloads
* MPEs with existential metatype payloads

Resolves rdar://132270733
Resolves rdar://128705332
2024-07-23 16:08:57 -07:00
swift-ci
ba4f4f9105 Merge remote-tracking branch 'origin/main' into rebranch 2024-07-12 13:15:21 -07:00
Nate Cook
846a861660 Improve RangeSet initialization performance (#75089)
When initializing a range set with a group of overlapping, identical,
or empty ranges, the initializer can exhibit poor performance due
to removing the unneeded ranges during processing. This change uses
a partitioning scheme instead, only removing the unnecessary ranges
at the end of initialization.
2024-07-12 15:01:38 -05:00
swift-ci
deb4d86f60 Merge remote-tracking branch 'origin/main' into rebranch 2024-07-11 16:35:36 -07:00
Alexander Cyon
4a2942bb4e Fix typos in: cmake, tools, utils, unittests, validation-test
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
2024-07-12 02:34:00 +03:00
swift-ci
ff7df3d30d Merge remote-tracking branch 'origin/main' into rebranch 2024-07-08 07:14:02 -07:00
Nate Cook
6d4f4a45cf Improve RangeSet union performance (#74963) 2024-07-08 09:00:37 -05:00
swift-ci
ce603fc5d0 Merge remote-tracking branch 'origin/main' into rebranch 2024-07-03 20:35:18 -07:00
Kavon Farvardin
ed0413d34d Merge pull request #74863 from kavon/re-enable-test
Revert "Disable test Runtime/issue-51181.swift"
2024-07-03 20:30:46 -07:00
swift-ci
68104b36eb Merge remote-tracking branch 'origin/main' into rebranch 2024-07-01 20:14:04 -07:00
Slava Pestov
7a8a56254a AST: Fix substitution map composition edge case
Adding `T == Int` to

    G1 := <T where T: Equatable>

gives us

    G2 := <T where T == Int>

which means that if I have this substitution map for G2:

    S2 := { Int }

then `SubstitutionMap::get(G1, S2)` should give me this substitution map
for G1:

    S2 := { Int, [Int: Equatable] }

But it didn't, instead returning a substitution map with an invalid
conformance.

The problem is that local conformance lookup alone cannot recover
`[Int: Equatable]` in this case, because there is no "concrete
conformance requirement" `[T == Int: Equatable]` recorded anywhere
in G2.

This is of course a legacy of the GenericSignatureBuilder. It would have
been better to not drop conformance requirements made concrete. But oh
well.

Fixes https://github.com/swiftlang/swift/issues/74465
Fixes rdar://130404629.
2024-07-01 14:15:41 -04:00
Kavon Farvardin
6e1bd47d61 Revert "Disable test Runtime/issue-51181.swift"
This reverts commit dfcdf16a72.
2024-07-01 09:15:07 -07:00
Xi Ge
736ccef626 Merge remote-tracking branch 'apple/main' into rebranch 2024-06-20 15:16:55 -07:00
Hamish Knight
23a85d19ed Merge pull request #74387 from hamishknight/pattern-resolution
[Sema] Requestify pattern resolution
2024-06-20 21:07:07 +01:00
swift-ci
34ed720427 Merge remote-tracking branch 'origin/main' into rebranch 2024-06-18 22:34:46 -07:00
Greg Titus
a3ab8bbe70 Merge pull request #74540 from gregomni/issue-46000
[Sema] Remove external dependencies and move test from validation_test to test.
2024-06-18 22:29:50 -07:00
Greg Titus
18392fd576 Remove external dependencies and move from validation_test to test. 2024-06-18 19:01:08 -07:00
swift-ci
534620ceef Merge remote-tracking branch 'origin/main' into rebranch 2024-06-18 14:15:39 -07:00
Slava Pestov
cb1605f26f Merge pull request #74414 from slavapestov/pack-element-var
SIL: Fix lowering for 'var's whose types contain local archetypes
2024-06-18 17:14:50 -04:00
Slava Pestov
e4d6108e11 SIL: Fix lowering for 'var's whose types contain local archetypes
A mutable 'var' becomes a SILBoxType, and we need to plumb the
correct generic signature through here too.

Fixes https://github.com/apple/swift/issues/71921.
2024-06-18 11:45:41 -04:00