From de059e15c0ef94ca7aae1333f2d988ceb7e33040 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... llvm-svn: 254754 --- clang/lib/CodeGen/CGDebugInfo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 4aea4f8f9452..ff6388bd1a30 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/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.