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 | 2dfcec129fb4e75b7c645d5ad1060d8468ec85e0 (patch) | |
| tree | b104ac5186d4b27b601c0381a28122ffe911a1d9 | |
| parent | fc3e3ad74da065c3c6786cc3ffd1569c1d0be96f (diff) | |
| download | bcm5719-llvm-2dfcec129fb4e75b7c645d5ad1060d8468ec85e0.tar.gz bcm5719-llvm-2dfcec129fb4e75b7c645d5ad1060d8468ec85e0.zip | |
Default visbility for instance variables is protected.
Patch by Emerson Murhpy-Hill.
llvm-svn: 50452
| -rw-r--r-- | clang/lib/Parse/ParseObjc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseObjc.cpp b/clang/lib/Parse/ParseObjc.cpp index 0c5cf20ef8e..d1b1c25c5a7 100644 --- a/clang/lib/Parse/ParseObjc.cpp +++ b/clang/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. |

