[cfe-commits] r50452 - /cfe/trunk/lib/Parse/ParseObjc.cpp
Fariborz Jahanian
fjahanian at apple.com
Tue Apr 29 16:03:51 PDT 2008
Author: fjahanian
Date: Tue Apr 29 18:03:51 2008
New Revision: 50452
URL: http://llvm.org/viewvc/llvm-project?rev=50452&view=rev
Log:
Default visbility for instance variables is protected.
Patch by Emerson Murhpy-Hill.
Modified:
cfe/trunk/lib/Parse/ParseObjc.cpp
Modified: cfe/trunk/lib/Parse/ParseObjc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseObjc.cpp?rev=50452&r1=50451&r2=50452&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseObjc.cpp (original)
+++ cfe/trunk/lib/Parse/ParseObjc.cpp Tue Apr 29 18:03:51 2008
@@ -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.
More information about the cfe-commits
mailing list