From: Nico Weber Date: Fri, 4 Dec 2015 19:35:45 +0000 (+0000) Subject: Small follow-up to 254750 to get the test added there passing... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9543c82dd21ca0b9bd1b7100df7b7ff4e4cbe1c9;p=clang Small follow-up to 254750 to get the test added there passing... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254754 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 4aea4f8f94..ff6388bd1a 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1808,11 +1808,11 @@ llvm::DIType *CGDebugInfo::CreateTypeDefinition(const ObjCInterfaceType *Ty, }; { llvm::SmallPtrSet 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.