Skip to content

Commit ca1c7f1

Browse files
committed
[ASTPrinter] Fix a couple of 80-column violations NFC
1 parent 5c29920 commit ca1c7f1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/AST/ASTPrinter.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -851,9 +851,10 @@ class PrintAST : public ASTVisitor<PrintAST> {
851851
if (!shouldPrint(D, true))
852852
return false;
853853

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;
857858
if (Synthesize)
858859
Printer.setSynthesizedTarget(Options.TransformContext->getNominal());
859860

@@ -877,8 +878,8 @@ class PrintAST : public ASTVisitor<PrintAST> {
877878
ASTVisitor::visit(D);
878879
if (Synthesize) {
879880
Printer.setSynthesizedTarget(nullptr);
880-
Printer.printSynthesizedExtensionPost(cast<ExtensionDecl>(D),
881-
Options.TransformContext->getNominal());
881+
Printer.printSynthesizedExtensionPost(
882+
cast<ExtensionDecl>(D), Options.TransformContext->getNominal());
882883
} else {
883884
Printer.callPrintDeclPost(D);
884885
}

0 commit comments

Comments
 (0)