mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ASTPrinter] Check if we should skip synthesized extensions
This commit is contained in:
@@ -354,6 +354,9 @@ public:
|
||||
if (ExtraProtocols.empty())
|
||||
return;
|
||||
|
||||
if (!printOptions.shouldPrint(nominal))
|
||||
return;
|
||||
|
||||
SmallPtrSet<ProtocolDecl *, 16> handledProtocols;
|
||||
|
||||
// First record all protocols that have already been handled.
|
||||
|
||||
Reference in New Issue
Block a user