to be 'weak'. This prevents a crash and should
probably be flagged as error - later to come.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139211
91177308-0d34-0410-b5e6-
96231b3b80d8
!getLangOptions().ObjCAutoRefCount &&
getLangOptions().getGCMode() !=
LangOptions::NonGC);
- if (PropertyIsGCWeak)
+ if (PropertyIsGCWeak && !PropType.isObjCGCStrong())
PropType = Context.getObjCGCQualType(PropType, Qualifiers::Weak);
QualType PropertyIvarType = PropType;
if (PropType->isReferenceType())