diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-21 18:57:20 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-04-21 18:57:20 +0000 |
| commit | 422cb2186229df92e18b8e7511e99c676d5d8c36 (patch) | |
| tree | 8c8b5f5453f64be82b0d5b46bedbc98890d42a9d /clang/lib/Sema/SemaObjCProperty.cpp | |
| parent | a01874bf44d7b2cdd2f2189ef07d68e1dc4c9b65 (diff) | |
| download | bcm5719-llvm-422cb2186229df92e18b8e7511e99c676d5d8c36.tar.gz bcm5719-llvm-422cb2186229df92e18b8e7511e99c676d5d8c36.zip | |
Improve on source location of diagnostic when default
property synthesis is using a super class ivar.
llvm-svn: 102011
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaObjCProperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index d47d6c2994f..1d27e44dbe7 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -812,7 +812,7 @@ void Sema::DiagnoseUnimplementedProperties(ObjCImplDecl* IMPDecl, continue; if (LangOpts.ObjCNonFragileABI2) { ActOnPropertyImplDecl(IMPDecl->getLocation(), - SourceLocation(), + IMPDecl->getLocation(), true, DeclPtrTy::make(IMPDecl), Prop->getIdentifier(), Prop->getIdentifier()); |

