};
{
llvm::SmallPtrSet<const IdentifierInfo*, 16> PropertySet;
- //for (const ObjCCategoryDecl *ClassExt : ID->known_extensions())
- // for (auto *PD : ClassExt->properties()) {
- // PropertySet.insert(PD->getIdentifier());
- // AddProperty(PD);
- // }
+ for (const ObjCCategoryDecl *ClassExt : ID->known_extensions())
+ for (auto *PD : ClassExt->properties()) {
+ PropertySet.insert(PD->getIdentifier());
+ AddProperty(PD);
+ }
for (const auto *PD : ID->properties()) {
// Don't emit duplicate metadata for properties that were already in a
// class extension.