File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -851,9 +851,10 @@ class PrintAST : public ASTVisitor<PrintAST> {
851
851
if (!shouldPrint (D, true ))
852
852
return false ;
853
853
854
- bool Synthesize = Options.TransformContext &&
855
- Options.TransformContext ->isPrintingSynthesizedExtension () &&
856
- D->getKind () == DeclKind::Extension;
854
+ bool Synthesize =
855
+ Options.TransformContext &&
856
+ Options.TransformContext ->isPrintingSynthesizedExtension () &&
857
+ D->getKind () == DeclKind::Extension;
857
858
if (Synthesize)
858
859
Printer.setSynthesizedTarget (Options.TransformContext ->getNominal ());
859
860
@@ -877,8 +878,8 @@ class PrintAST : public ASTVisitor<PrintAST> {
877
878
ASTVisitor::visit (D);
878
879
if (Synthesize) {
879
880
Printer.setSynthesizedTarget (nullptr );
880
- Printer.printSynthesizedExtensionPost (cast<ExtensionDecl>(D),
881
- Options.TransformContext ->getNominal ());
881
+ Printer.printSynthesizedExtensionPost (
882
+ cast<ExtensionDecl>(D), Options.TransformContext ->getNominal ());
882
883
} else {
883
884
Printer.callPrintDeclPost (D);
884
885
}
You can’t perform that action at this time.
0 commit comments