================
@@ -629,7 +594,7 @@ ObjCPropertyDecl *SemaObjC::CreatePropertyDecl(
PDecl->setGetterName(GetterSel, GetterNameLoc);
PDecl->setSetterName(SetterSel, SetterNameLoc);
PDecl->setPropertyAttributesAsWritten(
-
makePropertyAttributesAsWritten(AttributesAsWritten));
+ (ObjCPropertyAttribute::Kind)AttributesAsWritten);
----------------
erichkeane wrote:
```suggestion
static_cast<ObjCPropertyAttribute::Kind>(AttributesAsWritten));
```
https://github.com/llvm/llvm-project/pull/179703
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits