diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-02 20:09:24 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-02 20:09:24 +0000 |
| commit | a9f8675e02cf172dafff94da0e583abaf6f3e8b0 (patch) | |
| tree | 20900d3e32f43a1e5b5ba1cf2f89833f8148176c /clang/lib | |
| parent | ab5d7aef727dc67949209a4b79861cc581af48a8 (diff) | |
| download | bcm5719-llvm-a9f8675e02cf172dafff94da0e583abaf6f3e8b0.tar.gz bcm5719-llvm-a9f8675e02cf172dafff94da0e583abaf6f3e8b0.zip | |
Diagnose invalid code with -fobjc-nonfragile-abi2 when
property is being accessed without the dot-syntax notation.
(radar 7822344).
llvm-svn: 100212
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index fbdf080bc4a..2dfb95435dd 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/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); } |

