And finally, revert the accidental check-in part of the previous reversion. I'm on a roll.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103249 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/DeclPrinter.cpp b/lib/AST/DeclPrinter.cpp
index 609d64c..5394924 100644
--- a/lib/AST/DeclPrinter.cpp
+++ b/lib/AST/DeclPrinter.cpp
@@ -214,11 +214,7 @@
     if (PrintAccess) {
       AccessSpecifier AS = D->getAccess();
 
-      // This is a hack: when a struct is declared in a member declaration
-      // struct outer { struct inner *ptr; }; then we encounter the struct
-      // decl, but it has no access specifier.
-      // The correct solution is to merge this with the member.
-      if (AS != CurAS && AS != AS_none) {
+      if (AS != CurAS) {
         if (Indent)
           this->Indent(Indentation - Policy.Indentation);
         Print(AS);