diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-03-04 22:30:12 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-03-04 22:30:12 +0000 |
commit | a6e3ac514c924879699c6b0b1201028f0091044f (patch) | |
tree | fa654a8c63ee410e0fd5b0a99b6cc709ff313b01 /lib/Parse/ParseExpr.cpp | |
parent | 30b055f553ffa50ae5413ecf0f0ac8061c58f475 (diff) |
Implemented access check for ivars accessed inside
c-style functions declared inside objc @implementations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index 6c6842e0be..4a81d30c84 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -852,7 +852,8 @@ Parser::ParsePostfixExpressionSuffix(OwningExprResult LHS) { if (!LHS.isInvalid()) { LHS = Actions.ActOnMemberReferenceExpr(CurScope, move(LHS), OpLoc, OpKind, Tok.getLocation(), - *Tok.getIdentifierInfo()); + *Tok.getIdentifierInfo(), + ObjCImpDecl); } ConsumeToken(); break; |