Default visbility for instance variables is protected.
Patch by Emerson Murhpy-Hill.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50452 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp
index 0c5cf20..d1b1c25 100644
--- a/lib/Parse/ParseObjc.cpp
+++ b/lib/Parse/ParseObjc.cpp
@@ -758,7 +758,7 @@
 
   SourceLocation LBraceLoc = ConsumeBrace(); // the "{"
   
-  tok::ObjCKeywordKind visibility = tok::objc_private;
+  tok::ObjCKeywordKind visibility = tok::objc_protected;
   // While we still have something to read, read the instance variables.
   while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) {
     // Each iteration of this loop reads one objc-instance-variable-decl.