summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-12-04 19:35:45 +0000
committerNico Weber <nicolasweber@gmx.de>2015-12-04 19:35:45 +0000
commitde059e15c0ef94ca7aae1333f2d988ceb7e33040 (patch)
tree5a974ec2f9a0bcad25c6c140eb21c2258934a0c1 /clang/lib/CodeGen
parentf268357514456a2cf077a3afb7712877623d8e02 (diff)
downloadbcm5719-llvm-de059e15c0ef94ca7aae1333f2d988ceb7e33040.tar.gz
bcm5719-llvm-de059e15c0ef94ca7aae1333f2d988ceb7e33040.zip
Small follow-up to 254750 to get the test added there passing...
llvm-svn: 254754
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 4aea4f8f945..ff6388bd1a3 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<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.
OpenPOWER on IntegriCloud