diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2008-05-01 00:03:38 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2008-05-01 00:03:38 +0000 |
commit | 02edb98b457c1be3fabe63f7390fe75fd6689def (patch) | |
tree | d02d31df528a9b59f0cd39eb669517a0ad817c71 /include/clang | |
parent | 072192bcbb05a0fee7ec3061750b27e8d2004952 (diff) |
More ObjC2 property semantics work. Work in progress.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Basic/DiagnosticKinds.def | 6 | ||||
-rw-r--r-- | include/clang/Parse/Action.h | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index 79b28cb889..07d1519440 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -508,6 +508,12 @@ DIAG(error_synthesize_category_decl, ERROR, "@synthesize not allowed in a category's implementation") DIAG(error_property_ivar_type, ERROR, "type of property '%0' does not match type of ivar '%1'") +DIAG(warn_readonly_property, WARNING, + "attribute 'readonly' of property '%0' restricts attribute " + "'readwrite' of '%1' property in super class") +DIAG(warn_property_attribute, WARNING, + "property '%0' '%1' attribute does not match super class '%2' " + "property") //===----------------------------------------------------------------------===// // Semantic Analysis diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index f283fff22c..f0d5158297 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -733,13 +733,6 @@ public: Protocols) { } - /// ComparePropertiesInBaseAndSuper - This routine compares property - /// declarations in base and its super class, if any, and issues - /// diagnostics in a variety of inconsistant situations. - /// - virtual void ComparePropertiesInBaseAndSuper(SourceLocation *PropertyLoc, - DeclTy *ClassInterface) { - } //===----------------------- Obj-C Expressions --------------------------===// virtual ExprResult ParseObjCStringLiteral(SourceLocation *AtLocs, |