forked from OSchip/llvm-project
parent
5537b8bc6c
commit
4f5a889dc6
|
@ -1432,8 +1432,8 @@ void Sema::CheckObjCPropertyAttributes(QualType PropertyTy,
|
|||
"copy" : "retain";
|
||||
|
||||
Diag(Loc, (Attributes & (ObjCDeclSpec::DQ_PR_readwrite)) ?
|
||||
diag::err_objc_property_attr_mutually_exclusive :
|
||||
diag::warn_objc_property_attr_mutually_exclusive)
|
||||
(unsigned)diag::err_objc_property_attr_mutually_exclusive :
|
||||
(unsigned)diag::warn_objc_property_attr_mutually_exclusive)
|
||||
<< "readonly" << which;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue