@@ -1547,10 +1547,10 @@ class TargetProtocolDescriptorRef {
1547
1547
// / is clear).
1548
1548
StoredPointer storage;
1549
1549
1550
+ public:
1550
1551
constexpr TargetProtocolDescriptorRef (StoredPointer storage)
1551
1552
: storage(storage) { }
1552
1553
1553
- public:
1554
1554
constexpr TargetProtocolDescriptorRef () : storage() { }
1555
1555
1556
1556
TargetProtocolDescriptorRef (
@@ -2519,7 +2519,6 @@ class TargetGenericRequirementDescriptor {
2519
2519
// / The type that's constrained, described as a mangled name.
2520
2520
RelativeDirectPointer<const char , /* nullable*/ false > Param;
2521
2521
2522
- private:
2523
2522
union {
2524
2523
// / A mangled representation of the same-type or base class the param is
2525
2524
// / constrained to.
@@ -2544,7 +2543,6 @@ class TargetGenericRequirementDescriptor {
2544
2543
GenericRequirementLayoutKind Layout;
2545
2544
};
2546
2545
2547
- public:
2548
2546
constexpr GenericRequirementFlags getFlags () const {
2549
2547
return Flags;
2550
2548
}
@@ -2784,6 +2782,7 @@ struct TargetExtensionContextDescriptor final
2784
2782
using TrailingGenericContextObjects
2785
2783
= TrailingGenericContextObjects<TargetExtensionContextDescriptor<Runtime>>;
2786
2784
2785
+ public:
2787
2786
// / A mangling of the `Self` type context that the extension extends.
2788
2787
// / The mangled name represents the type in the generic context encoded by
2789
2788
// / this descriptor. For example, a nongeneric nominal type extension will
@@ -2794,7 +2793,6 @@ struct TargetExtensionContextDescriptor final
2794
2793
// / extension is declared inside.
2795
2794
RelativeDirectPointer<const char > ExtendedContext;
2796
2795
2797
- public:
2798
2796
using TrailingGenericContextObjects::getGenericContext;
2799
2797
2800
2798
StringRef getMangledExtendedContext () const {
0 commit comments