aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-04-02 20:09:24 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-04-02 20:09:24 +0000
commit6aae87d3839fad00b46159b5b67ef1da5f6c19e9 (patch)
tree0e3f0961907d521af8094c1bc5c95a645ed1b0d6 /lib
parent29fa69addf8b19871e7866c32c92b5d142c4bfbc (diff)
Diagnose invalid code with -fobjc-nonfragile-abi2 when
property is being accessed without the dot-syntax notation. (radar 7822344). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Sema/SemaExpr.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index fbdf080bc4..2dfb95435d 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -1345,11 +1345,6 @@ Sema::LookupInObjCMethod(LookupResult &Lookup, Scope *S,
}
}
}
- if (LangOpts.ObjCNonFragileABI2 && LookForIvars && Lookup.empty()) {
- ObjCIvarDecl *Ivar = SynthesizeNewPropertyIvar(IFace, II);
- if (Ivar)
- return LookupInObjCMethod(Lookup, S, II, AllowBuiltinCreation);
- }
// Sentinel value saying that we didn't do anything special.
return Owned((Expr*) 0);
}