Small follow-up to 254750 to get the test added there passing...

llvm-svn: 254754
This commit is contained in:
Nico Weber 2015-12-04 19:35:45 +00:00
parent f268357514
commit de059e15c0
1 changed files with 5 additions and 5 deletions

View File

@ -1808,11 +1808,11 @@ llvm::DIType *CGDebugInfo::CreateTypeDefinition(const ObjCInterfaceType *Ty,
};
{
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.