diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-04-29 23:03:51 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-04-29 23:03:51 +0000 |
commit | aa847fe3c88ee5e8d180e48537c58b805d48d95d (patch) | |
tree | fcfebec717a119a31345699d1bec45913e49f27e /lib | |
parent | 718c4f7b3ff713c3ebee46553d687bde63e5666f (diff) |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Parse/ParseObjc.cpp | 2 |
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. |