forked from OSchip/llvm-project
Small follow-up to 254750 to get the test added there passing...
llvm-svn: 254754
This commit is contained in:
parent
f268357514
commit
de059e15c0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue