aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Parse/ParseObjc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp
index 0c5cf20ef8..d1b1c25c5a 100644
--- a/lib/Parse/ParseObjc.cpp
+++ b/lib/Parse/ParseObjc.cpp
@@ -758,7 +758,7 @@ void Parser::ParseObjCClassInstanceVariables(DeclTy *interfaceDecl,
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.