aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2008-12-04 22:56:16 +0000
committerFariborz Jahanian <fjahanian@apple.com>2008-12-04 22:56:16 +0000
commit06de37bade11b2d4187a1e4f74d0dcf2a72dda39 (patch)
tree8b55c240f00b28600244c1d742a26d774abdf30a /lib/Sema/SemaDeclObjC.cpp
parent8fc4dfb30e8bd94ca2ea7adb6cbece04fb96cd99 (diff)
Output better diagnostics for continuation class
property attribute mis-specification. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--lib/Sema/SemaDeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp
index ed87516687..b3afd78fc7 100644
--- a/lib/Sema/SemaDeclObjC.cpp
+++ b/lib/Sema/SemaDeclObjC.cpp
@@ -1283,7 +1283,7 @@ Sema::DeclTy *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc,
PIDecl->setSetterMethodDecl(SetterDecl);
}
else
- Diag(AtLoc, diag::err_use_continuation_class);
+ Diag(AtLoc, diag::err_use_continuation_class) << ICDecl->getDeclName();
*isOverridingProperty = true;
return 0;
}