forked from OSchip/llvm-project
parent
3a2d6a3096
commit
21ad7e5243
|
@ -2364,10 +2364,9 @@ Sema::LookupInObjCMethod(LookupResult &Lookup, Scope *S,
|
|||
!IvarBacksCurrentMethodAccessor(IFace, CurMethod, IV))
|
||||
Diag(Loc, diag::warn_direct_ivar_access) << IV->getDeclName();
|
||||
|
||||
ObjCIvarRefExpr *Result = new (Context) ObjCIvarRefExpr(IV, IV->getType(),
|
||||
Loc, IV->getLocation(),
|
||||
SelfExpr.get(),
|
||||
true, true);
|
||||
ObjCIvarRefExpr *Result = new (Context)
|
||||
ObjCIvarRefExpr(IV, IV->getType(), Loc, IV->getLocation(),
|
||||
SelfExpr.get(), true, true);
|
||||
|
||||
if (getLangOpts().ObjCAutoRefCount) {
|
||||
if (IV->getType().getObjCLifetime() == Qualifiers::OCL_Weak) {
|
||||
|
|
Loading…
Reference in New Issue