From 6bffd6fe81d8bd4888323ba5f302e277001e43a3 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 12 Nov 2012 19:32:32 +0000 Subject: [PATCH] 80 cols & unnecessary braces from r167736. Post-commit review feedback by Eli Friedman. llvm-svn: 167739 --- clang/lib/AST/StmtPrinter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index 31a9726..e3398ae 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -912,11 +912,11 @@ void StmtPrinter::VisitMemberExpr(MemberExpr *Node) { PrintExpr(Node->getBase()); MemberExpr *ParentMember = dyn_cast(Node->getBase()); - FieldDecl *ParentDecl = ParentMember ? dyn_cast(ParentMember->getMemberDecl()): NULL; + FieldDecl *ParentDecl = ParentMember + ? dyn_cast(ParentMember->getMemberDecl()) : NULL; - if (!ParentDecl || !ParentDecl->isAnonymousStructOrUnion()) { + if (!ParentDecl || !ParentDecl->isAnonymousStructOrUnion()) OS << (Node->isArrow() ? "->" : "."); - } if (FieldDecl *FD = dyn_cast(Node->getMemberDecl())) if (FD->isAnonymousStructOrUnion()) -- 2.7.4