From 9543c82dd21ca0b9bd1b7100df7b7ff4e4cbe1c9 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 4 Dec 2015 19:35:45 +0000 Subject: [PATCH] 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 --- lib/CodeGen/CGDebugInfo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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. -- 2.50.1