mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #59672 from beccadax/what-is-the-protocol-for-generating-sendable
Ignore Sendable conformances in PrintAsClang
This commit is contained in:
@@ -439,8 +439,10 @@ public:
|
||||
bool allRequirementsSatisfied = true;
|
||||
|
||||
for (auto proto : PD->getInheritedProtocols()) {
|
||||
assert(proto->isObjC());
|
||||
allRequirementsSatisfied &= require(proto);
|
||||
if (printer.shouldInclude(proto)) {
|
||||
assert(proto->isObjC());
|
||||
allRequirementsSatisfied &= require(proto);
|
||||
}
|
||||
}
|
||||
|
||||
if (!allRequirementsSatisfied)
|
||||
|
||||
Reference in New Issue
Block a user