diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 01:46:44 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 01:46:44 +0000 |
commit | de8e4273944004a9d5bf26254f46cf75d269e41e (patch) | |
tree | e00dcb80c644b42d0398b3c610d11d7ed8b4c9cf /llvm/lib/IR/DebugInfo.cpp | |
parent | b7e221ba5530d2da215a47d7adcecc87e9506d8d (diff) | |
download | llvm-de8e4273944004a9d5bf26254f46cf75d269e41e.zip llvm-de8e4273944004a9d5bf26254f46cf75d269e41e.tar.gz llvm-de8e4273944004a9d5bf26254f46cf75d269e41e.tar.bz2 |
DebugInfo: Gut DIObjCProperty and DIImportedEntity
Gut a couple more classes in the DIDescriptor hierarchy. Leave behind
an implicit conversion to `DIDescriptor`, the old base class.
llvm-svn: 234836
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 2c3d00b..fe74ec5 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -163,7 +163,7 @@ void DebugInfoFinder::processModule(const Module &M) { for (auto *RT : CU->getRetainedTypes()) processType(RT); for (DIImportedEntity Import : CU->getImportedEntities()) { - DIDescriptor Entity = Import.getEntity().resolve(TypeIdentifierMap); + auto *Entity = Import->getEntity().resolve(TypeIdentifierMap); if (auto *T = dyn_cast<MDType>(Entity)) processType(T); else if (auto *SP = dyn_cast<MDSubprogram>(Entity)) |